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

fscrypt: extending ftruncate() to an unaligned size past a PFL/DoM component boundary returns 1 and does not change the file size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Lustre 2.18.0
    • 3
    • 9223372036854775807

      An encrypted file with a composite layout can fail to grow with ftruncate if the component is uninstantiated. The call may return success to the caller, but the file size stays unchanged. This can cause programs to use the wrong file size, or get SIGBUS after mmap().

            sebastien Sebastien Buisson
            sebastien Sebastien Buisson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: