aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-13 10:17:10 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-18 23:39:26 -0500
commit38417468d4f05cfed62fca8f407d2df0cbe3fcc8 (patch)
tree91fac5bb8a574303159a5803cdf355c0f360fb29 /include/linux
parentd6a9000b81befd436fe4bcdae76322928bda724c (diff)
scsi: block: remove the cluster flag
Now that the the SCSI layer replaced the use of the cluster flag with segment size limits and the DMA boundary we can remove the cluster flag from the block layer. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4293dc1cd160..653ae90eec0b 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -389,7 +389,6 @@ struct queue_limits {
389 389
390 unsigned char misaligned; 390 unsigned char misaligned;
391 unsigned char discard_misaligned; 391 unsigned char discard_misaligned;
392 unsigned char cluster;
393 unsigned char raid_partial_stripes_expensive; 392 unsigned char raid_partial_stripes_expensive;
394 enum blk_zoned_model zoned; 393 enum blk_zoned_model zoned;
395}; 394};
@@ -785,11 +784,6 @@ static inline bool queue_is_rq_based(struct request_queue *q)
785 return q->request_fn || q->mq_ops; 784 return q->request_fn || q->mq_ops;
786} 785}
787 786
788static inline unsigned int blk_queue_cluster(struct request_queue *q)
789{
790 return q->limits.cluster;
791}
792
793static inline enum blk_zoned_model 787static inline enum blk_zoned_model
794blk_queue_zoned_model(struct request_queue *q) 788blk_queue_zoned_model(struct request_queue *q)
795{ 789{