mbox series

[0/2] zonefs: use zone-append for aio with rwf append

Message ID 20200720132118.10934-1-johannes.thumshirn@wdc.com (mailing list archive)
Headers show
Series zonefs: use zone-append for aio with rwf append | expand

Message

Johannes Thumshirn July 20, 2020, 1:21 p.m. UTC
When an asynchronous I/O, that has the RWF_APPEND flag set, get's submitted
to a sequential zone-file in zonefs, issue this I/O using REQ_OP_ZONE_APPEND.

On a successful write, the location the data has been written to is returned
in AIOs res2 field.

This series has no regressions to current zonefs-tests and specific tests will
be introduced as well.

Damien Le Moal (1):
  fs: fix kiocb ki_complete interface

Johannes Thumshirn (1):
  zonefs: use zone-append for AIO as well

 drivers/block/loop.c              |   3 +-
 drivers/nvme/target/io-cmd-file.c |   3 +-
 drivers/target/target_core_file.c |   3 +-
 fs/aio.c                          |   2 +-
 fs/io_uring.c                     |   5 +-
 fs/zonefs/super.c                 | 143 ++++++++++++++++++++++++++----
 fs/zonefs/zonefs.h                |   3 +
 include/linux/fs.h                |   2 +-
 8 files changed, 139 insertions(+), 25 deletions(-)