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

switch Lustre to use IOCB_APPEND and IOCB_DIRECT instead of file flags

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      Usage of O_DIRECT and O_APPEND from file->f_flags to make decisions about IO exposes us to races with fcntl.  The upstream kernel fixed this in 2015 by mirroring them in to the IOCB flags.  Let's use these.

      Attachments

        Issue Links

          Activity

            People

              paf0186 Patrick Farrell (Inactive)
              paf0186 Patrick Farrell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: