aboutsummaryrefslogtreecommitdiff
path: root/include/linux/inetdevice.h
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-03-20 11:23:41 -0600
committerJens Axboe <[email protected]>2020-03-20 11:41:23 -0600
commit4ed734b0d0913e566a9d871e15d24eb240f269f7 (patch)
tree5ca3d7ceb203b4b1cca8b5a02b04a366f0e7ac21 /include/linux/inetdevice.h
parent60cf46ae605446feb0c43c472c0fd1af4cd96231 (diff)
io_uring: honor original task RLIMIT_FSIZE
With the previous fixes for number of files open checking, I added some debug code to see if we had other spots where we're checking rlimit() against the async io-wq workers. The only one I found was file size checking, which we should also honor. During write and fallocate prep, store the max file size and override that for the current ask if we're in io-wq worker context. Cc: [email protected] # 5.1+ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/inetdevice.h')
0 files changed, 0 insertions, 0 deletions