Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-21224

Linux 7.x kernel fixes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      Two fixes for newer Linux 7.x kernels:

      • osd-ldiskfs fails to build at modpost on kernels without CONFIG_CRC_T10DIF (for example mainline 7.0 from defconfig, which has no BLK_DEV_INTEGRITY): obdclass defines obd_dif_crc_fn() and obd_dif_ip_fn() only with CRC_T10DIF, but osd_integrity.c uses them unconditionally. osc already handles this case.
      • lst new_session oopses with a NULL dereference in lst_sessions_cmd() on Linux 7.1 and later. Since upstream commit b93ec16310b4 ("genetlink: use maxattr of 0 for the reject policy"), genetlink fills info->attrs only for operations with a policy, and the lnet_selftest family has none.

      Found while building and testing on mainline 7.0 and 7.3.4.

            wc-triage WC Triage
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: