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

osd_ldiskfs_write_rec() can do partial write

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      osd_ldiskfs_write_rec() is used on server for various local writes, most often for llog. It does write by pages so if chunk of data is crossing page boundary then first part can be written but second can fail, e.g. due to -ENOSPC. This cause partially written data which is corruption in most cases, especially with llog.

      Attachments

        Activity

          [LU-10398] osd_ldiskfs_write_rec() can do partial write
          adilger Andreas Dilger made changes -
          Link Original: This issue is related to LU-14138 [ LU-14138 ]
          adilger Andreas Dilger made changes -
          Link New: This issue is related to LU-14138 [ LU-14138 ]
          jgmitter Joseph Gmitter (Inactive) made changes -
          Resolution New: Not a Bug [ 6 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          jgmitter Joseph Gmitter (Inactive) made changes -
          Fix Version/s Original: Lustre 2.12.0 [ 13495 ]
          jgmitter Joseph Gmitter (Inactive) made changes -
          Resolution Original: Not a Bug [ 6 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          tappro Mikhail Pershin made changes -
          Resolution New: Not a Bug [ 6 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          tappro Mikhail Pershin made changes -
          Fix Version/s New: Lustre 2.12.0 [ 13495 ]
          Fix Version/s Original: Lustre 2.11.0 [ 13091 ]

          After discussion with Alex it was decided that llog should resolve this but not OSD. Such situation is possible in llog only and it is hard to decide about proper solution in OSD itself.

          tappro Mikhail Pershin added a comment - After discussion with Alex it was decided that llog should resolve this but not OSD. Such situation is possible in llog only and it is hard to decide about proper solution in OSD itself.
          pjones Peter Jones made changes -
          Assignee Original: WC Triage [ wc-triage ] New: Mikhail Pershin [ tappro ]
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.11.0 [ 13091 ]

          People

            tappro Mikhail Pershin
            tappro Mikhail Pershin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: