summaryrefslogtreecommitdiff
path: root/include/uapi/linux/ublk_cmd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-07-21 16:09:10 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-21 19:52:12 +0300
commit5f8bcc837a9640ba4bf5e7b1d7f9b254ea029f47 (patch)
tree2a9daae6b96cb17b9642db35fe3b89f2547c07a3 /include/uapi/linux/ublk_cmd.h
parentc229686b26ee5b371bdd7e637f2d18f191861c3e (diff)
downloadlinux-5f8bcc837a9640ba4bf5e7b1d7f9b254ea029f47.tar.xz
ublk: remove UBLK_IO_F_PREFLUSH
REQ_PREFLUSH is turned into REQ_OP_FLUSH by the flush state machine and thus never seen by a blk-mq based driver. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220721130916.1869719-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/ublk_cmd.h')
-rw-r--r--include/uapi/linux/ublk_cmd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/linux/ublk_cmd.h b/include/uapi/linux/ublk_cmd.h
index d6879eea2fde..917580b34198 100644
--- a/include/uapi/linux/ublk_cmd.h
+++ b/include/uapi/linux/ublk_cmd.h
@@ -107,7 +107,6 @@ struct ublksrv_ctrl_dev_info {
#define UBLK_IO_F_FAILFAST_DRIVER (1U << 10)
#define UBLK_IO_F_META (1U << 11)
#define UBLK_IO_F_FUA (1U << 13)
-#define UBLK_IO_F_PREFLUSH (1U << 14)
#define UBLK_IO_F_NOUNMAP (1U << 15)
#define UBLK_IO_F_SWAP (1U << 16)