summaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorike Snitzer <snitzer@redhat.com>2010-08-08 12:11:33 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-08 12:11:33 -0400
commit3383977fadc4027f20907f6208a9033cd043adab (patch)
tree4c950e22a7db4c2f0d5a65462b3f9081f4f6132e /block/blk-map.c
parent387ac089361fbe5ef287e6950c5c40f6b18e5c55 (diff)
downloadlinux-3383977fadc4027f20907f6208a9033cd043adab.tar.bz2
block: update request stacking methods to support discards
Propagate REQ_DISCARD in cmd_flags when cloning a discard request. Skip blk_rq_check_limits's existing checks for discard requests because discard limits will have already been checked in blkdev_issue_discard. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions