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

Use correct end offset when locking for ladivse willread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In ofd_ladvise_hdl(), tgt_extent_lock() shouldn't use end -1 as the end of the range. If end is EOF, which is true when willread has no range argument, ofd_ladvise_hdl() will mistakenly lock until EOF - 1

      Attachments

        Activity

          People

            lixi_wc Li Xi
            lixi_wc Li Xi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: