summaryrefslogtreecommitdiff
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-07-14 17:15:12 +0300
committerJens Axboe <axboe@fb.com>2015-07-17 17:41:53 +0300
commit2bb4cd5cc472b191a46938becb7dafdd44644329 (patch)
tree8fabaacb2c5aebf2cc7b18dc59898a234985dbbd /block/blk-settings.c
parent6c71013ecb7e2bddbed9f5b95e7aed22c491daa9 (diff)
downloadlinux-2bb4cd5cc472b191a46938becb7dafdd44644329.tar.xz
block: have drivers use blk_queue_max_discard_sectors()
Some drivers use it now, others just set the limits field manually. But in preparation for splitting this into a hard and soft limit, ensure that they all call the proper function for setting the hw limit for discards. Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions