diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-05-12 17:55:54 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-12 20:36:28 -0600 |
commit | 02ef12a663c7ac24b06146d0ed3137848edb0676 (patch) | |
tree | bbb9461566652f720fce10137b6dbe5bbe62c503 /block | |
parent | 29b2a3aa296711cfdadafbf627c2d9a388fc84ee (diff) | |
download | linux-02ef12a663c7ac24b06146d0ed3137848edb0676.tar.gz linux-02ef12a663c7ac24b06146d0ed3137848edb0676.tar.bz2 linux-02ef12a663c7ac24b06146d0ed3137848edb0676.zip |
zonefs: use REQ_OP_ZONE_APPEND for sync DIO
Synchronous direct I/O to a sequential write only zone can be issued using
the new REQ_OP_ZONE_APPEND request operation. As dispatching multiple
BIOs can potentially result in reordering, we cannot support asynchronous
IO via this interface.
We also can only dispatch up to queue_max_zone_append_sectors() via the
new zone-append method and have to return a short write back to user-space
in case an IO larger than queue_max_zone_append_sectors() has been issued.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions