[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1592414619-5646-1-git-send-email-joshi.k@samsung.com>
Date: Wed, 17 Jun 2020 22:53:36 +0530
From: Kanchan Joshi <joshi.k@...sung.com>
To: axboe@...nel.dk, viro@...iv.linux.org.uk, bcrl@...ck.org
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-aio@...ck.org, io-uring@...r.kernel.org,
linux-block@...r.kernel.org, selvakuma.s1@...sung.com,
nj.shetty@...sung.com, javier.gonz@...sung.com,
Kanchan Joshi <joshi.k@...sung.com>
Subject: [PATCH 0/3] zone-append support in aio and io-uring
This patchset enables issuing zone-append using aio and io-uring direct-io interface.
For aio, this introduces opcode IOCB_CMD_ZONE_APPEND. Application uses start LBA
of the zone to issue append. On completion 'res2' field is used to return
zone-relative offset.
For io-uring, this introduces three opcodes: IORING_OP_ZONE_APPEND/APPENDV/APPENDV_FIXED.
Since io_uring does not have aio-like res2, cqe->flags are repurposed to return zone-relative offset
Kanchan Joshi (1):
aio: add support for zone-append
Selvakumar S (2):
fs,block: Introduce IOCB_ZONE_APPEND and direct-io handling
io_uring: add support for zone-append
fs/aio.c | 8 +++++
fs/block_dev.c | 19 +++++++++++-
fs/io_uring.c | 72 +++++++++++++++++++++++++++++++++++++++++--
include/linux/fs.h | 1 +
include/uapi/linux/aio_abi.h | 1 +
include/uapi/linux/io_uring.h | 8 ++++-
6 files changed, 105 insertions(+), 4 deletions(-)
--
2.7.4
Powered by blists - more mailing lists