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

          People

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

            Dates

              Created:
              Updated:
              Resolved: