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

add check for truncate to size larger than rlimit

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0
    • Lustre 2.2.0
    • None
    • 1
    • 4671

    Description

      Add check to ll_setattr_raw() to handle the case for truncate to a file size larger than the rlimit set for the process. This is normally handled by inode_change_ok->inode_newsize_ok(), but we don't call inode_change_ok() directly.

      Attachments

        Activity

          [LU-808] add check for truncate to size larger than rlimit
          adilger Andreas Dilger made changes -
          Fix Version/s New: Lustre 2.3.0 [ 10117 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          adilger Andreas Dilger created issue -

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: