summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2014-09-26 19:19:59 -0400
committerJens Axboe <axboe@fb.com>2014-09-27 09:14:50 -0600
commit3be91c4a3d090bd700bd6ee5bf457c1bbf189a4f (patch)
tree235e86f4934f132dec54a4ec376886774a59fb1a /include/linux/blkdev.h
parent5f9378fa9ca214977b5bfc12197c67eea450fc40 (diff)
downloadop-kernel-dev-3be91c4a3d090bd700bd6ee5bf457c1bbf189a4f.zip
op-kernel-dev-3be91c4a3d090bd700bd6ee5bf457c1bbf189a4f.tar.gz
block: Deprecate the use of the term sector in the context of block integrity
The protection interval is not necessarily tied to the logical block size of a block device. Stop using the terms "sector" and "sectors". Going forward we will use the term "seed" to describe the initial reference tag value for a given I/O. "Interval" will be used to describe the portion of the data buffer that a given piece of protection information is associated with. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 0bf5d79..d364c42 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1464,9 +1464,9 @@ static inline uint64_t rq_io_start_time_ns(struct request *req)
struct blk_integrity_exchg {
void *prot_buf;
void *data_buf;
- sector_t sector;
+ sector_t seed;
unsigned int data_size;
- unsigned short sector_size;
+ unsigned short interval;
const char *disk_name;
};
@@ -1479,7 +1479,7 @@ struct blk_integrity {
unsigned short flags;
unsigned short tuple_size;
- unsigned short sector_size;
+ unsigned short interval;
unsigned short tag_size;
const char *name;
OpenPOWER on IntegriCloud