public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH v2 0/2] io_uring: add mkdirat support
@ 2021-02-02  8:23 Dmitry Kadashev
  2021-02-02  8:23 ` [PATCH v2 1/2] fs: make do_mkdirat() take struct filename Dmitry Kadashev
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dmitry Kadashev @ 2021-02-02  8:23 UTC (permalink / raw)
  To: Jens Axboe, Alexander Viro
  Cc: Pavel Begunkov, linux-fsdevel, io-uring, Dmitry Kadashev

This adds mkdirat support to io_uring and is heavily based on recently
added renameat() / unlinkat() support.

The first patch is preparation with no functional changes, makes
do_mkdirat accept struct filename pointer rather than the user string.

The second one leverages that to implement mkdirat in io_uring.

Based on for-5.11/io_uring.

Changes since v1:
- do not mess with struct filename's refcount in do_mkdirat, instead add
  and use __filename_create() that does not drop the name on success;

Dmitry Kadashev (2):
  fs: make do_mkdirat() take struct filename
  io_uring: add support for IORING_OP_MKDIRAT

 fs/internal.h                 |  1 +
 fs/io_uring.c                 | 58 +++++++++++++++++++++++++++++++++++
 fs/namei.c                    | 25 +++++++++++----
 include/uapi/linux/io_uring.h |  1 +
 4 files changed, 79 insertions(+), 6 deletions(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-30  4:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02  8:23 [PATCH v2 0/2] io_uring: add mkdirat support Dmitry Kadashev
2021-02-02  8:23 ` [PATCH v2 1/2] fs: make do_mkdirat() take struct filename Dmitry Kadashev
2021-02-12  9:42   ` Dmitry Kadashev
2021-02-02  8:23 ` [PATCH v2 2/2] io_uring: add support for IORING_OP_MKDIRAT Dmitry Kadashev
2021-02-18  7:25 ` [PATCH v2 0/2] io_uring: add mkdirat support Dmitry Kadashev
2021-03-29 20:37 ` Jens Axboe
2021-03-30  4:32   ` Dmitry Kadashev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox