path: root/fs/io-wq.h
diff options
authorPavel Begunkov <>2020-07-15 12:46:52 +0300
committerJens Axboe <>2020-07-24 13:00:44 -0600
commit57f1a64958543fe18a7fe0addbfb31bb2ceeaea2 (patch)
tree273c83477c1e50f57b5977716d7af23e3f2e5a83 /fs/io-wq.h
parent327d6d968b195cfc48ff97c49b56520aac922f65 (diff)
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 <> Signed-off-by: Jens Axboe <>
Diffstat (limited to 'fs/io-wq.h')
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;