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

osd_attr_set() fails with ENOSPC on linux-4.18

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • ldiskfs, 4.18
    • 3
    • 9223372036854775807

    Description

      few different tests can fail with the following symptom:
      Lustre: 9035:0:(osd_handler.c:3066:osd_attr_set()) lustre-MDT0000: set [0x200002342:0x35:0x0] lma flags 28 failed: rc = -28
      LustreError: 9035:0:(out_lib.c:629:out_tx_attr_set_undo()) lustre-MDT0000-osd: attr set undo [0x200000007:0x1:0x0] unimplemented yet!: rc = -524
      LustreError: 9035:0:(out_lib.c:1190:out_tx_index_delete_undo()) lustre-MDT0000-osd: Oops, can not rollback index_delete yet: rc = -524
      Lustre: DEBUG MARKER: sanity test_31f: @@@@@@ FAIL: first of /mnt/lustre/d31f

      this is because ext4 in linux-4.18 has the following check:

                      if (!ldiskfs_handle_has_enough_credits(handle, credits)) {
                              error = -ENOSPC;
                              goto cleanup;
      

      while ext4's credit calculation is way too pessimistic.

      Attachments

        Issue Links

          Activity

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: