summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpu.c
diff options
context:
space:
mode:
authorMing Lin <ming.l@ssi.samsung.com>2015-05-22 00:46:56 -0700
committerJens Axboe <axboe@fb.com>2015-08-13 12:31:47 -0600
commitb49a0871be31a745b2ef7912653683a1876ff701 (patch)
tree6fd3b77faea6f585e9ad9a781c0c348d49242f10 /block/blk-mq-cpu.c
parent0e28997ec476bad4c7dbe0a08775290051325f53 (diff)
downloadlinux-b49a0871be31a745b2ef7912653683a1876ff701.tar.bz2
block: remove split code in blkdev_issue_{discard,write_same}
The split code in blkdev_issue_{discard,write_same} can go away now that any driver that cares does the split. We have to make sure bio size doesn't overflow. For discard, we set max discard sectors to (1<<31)>>9 to ensure it doesn't overflow bi_size and hopefully it is of the proper granularity as long as the granularity is a power of two. Acked-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Ming Lin <ming.l@ssi.samsung.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions