aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-14 10:51:17 -0600
committerJens Axboe <axboe@kernel.dk>2020-12-09 12:03:54 -0700
commit28cea78af44918b920306df150afbd116bd94301 (patch)
tree420d5d7ded4a818f0ed57acf67f0612aee9ef29d /fs/internal.h
parentio_uring: add support for shutdown(2) (diff)
downloadlinux-dev-28cea78af44918b920306df150afbd116bd94301.tar.xz
linux-dev-28cea78af44918b920306df150afbd116bd94301.zip
io_uring: allow non-fixed files with SQPOLL
The restriction of needing fixed files for SQPOLL is problematic, and prevents/inhibits several valid uses cases. With the referenced files_struct that we have now, it's trivially supportable. Treat ->files like we do the mm for the SQPOLL thread - grab a reference to it (and assign it), and drop it when we're done. This feature is exposed as IORING_FEAT_SQPOLL_NONFIXED. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions