Commit d276a223 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

ublk: remove UBLK_IO_F_INTEGRITY

The ublk protocol has no mechanism to actually transfer the integrity
metadata, so don't define this flag, which requires that an integrity
payload is attached to a bio.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220718063013.335531-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6b1439d2
...@@ -389,9 +389,6 @@ static inline unsigned int ublk_req_build_flags(struct request *req) ...@@ -389,9 +389,6 @@ static inline unsigned int ublk_req_build_flags(struct request *req)
if (req->cmd_flags & REQ_META) if (req->cmd_flags & REQ_META)
flags |= UBLK_IO_F_META; flags |= UBLK_IO_F_META;
if (req->cmd_flags & REQ_INTEGRITY)
flags |= UBLK_IO_F_INTEGRITY;
if (req->cmd_flags & REQ_FUA) if (req->cmd_flags & REQ_FUA)
flags |= UBLK_IO_F_FUA; flags |= UBLK_IO_F_FUA;
......
...@@ -106,7 +106,6 @@ struct ublksrv_ctrl_dev_info { ...@@ -106,7 +106,6 @@ struct ublksrv_ctrl_dev_info {
#define UBLK_IO_F_FAILFAST_TRANSPORT (1U << 9) #define UBLK_IO_F_FAILFAST_TRANSPORT (1U << 9)
#define UBLK_IO_F_FAILFAST_DRIVER (1U << 10) #define UBLK_IO_F_FAILFAST_DRIVER (1U << 10)
#define UBLK_IO_F_META (1U << 11) #define UBLK_IO_F_META (1U << 11)
#define UBLK_IO_F_INTEGRITY (1U << 12)
#define UBLK_IO_F_FUA (1U << 13) #define UBLK_IO_F_FUA (1U << 13)
#define UBLK_IO_F_PREFLUSH (1U << 14) #define UBLK_IO_F_PREFLUSH (1U << 14)
#define UBLK_IO_F_NOUNMAP (1U << 15) #define UBLK_IO_F_NOUNMAP (1U << 15)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment