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

osd_ldiskfs_write_rec() can do partial write

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: