diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-15 11:46:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-24 21:00:44 +0200 |
commit | 57f1a64958543fe18a7fe0addbfb31bb2ceeaea2 (patch) | |
tree | 273c83477c1e50f57b5977716d7af23e3f2e5a83 /fs/io-wq.h | |
parent | io_uring: alloc ->io in io_req_defer_prep() (diff) | |
download | linux-57f1a64958543fe18a7fe0addbfb31bb2ceeaea2.tar.xz linux-57f1a64958543fe18a7fe0addbfb31bb2ceeaea2.zip |
io_uring/io-wq: move RLIMIT_FSIZE to io-wq
RLIMIT_SIZE in needed only for execution from an io-wq context, hence
move all preparations from hot path to io-wq work setup.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r-- | fs/io-wq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h index 114f12ec2d65..ddaf9614cf9b 100644 --- a/fs/io-wq.h +++ b/fs/io-wq.h @@ -89,6 +89,7 @@ struct io_wq_work { struct mm_struct *mm; const struct cred *creds; struct fs_struct *fs; + unsigned long fsize; unsigned flags; }; |