summaryrefslogtreecommitdiff
path: root/Documentation/extcon
diff options
context:
space:
mode:
authorGuangliang Zhao <lucienchao@gmail.com>2014-04-01 18:22:16 +0400
committerIlya Dryomov <idryomov@redhat.com>2014-10-14 21:03:31 +0400
commit90e98c5229c0adfadf2c2ad2c91d72902bf61bc4 (patch)
treebf0b039cc39d8fbff1b69429d8dd9489df65e939 /Documentation/extcon
parent6d2940c881aeb9f46baac548dc4e906a53957dba (diff)
downloadlinux-90e98c5229c0adfadf2c2ad2c91d72902bf61bc4.tar.xz
rbd: initial discard bits from Guangliang Zhao
This patch add the discard support for rbd driver. There are three types operation in the driver: 1. The objects would be removed if they completely contained within the discard range. 2. The objects would be truncated if they partly contained within the discard range, and align with their boundary. 3. Others would be zeroed. A discard request from blkdev_issue_discard() is defined which REQ_WRITE and REQ_DISCARD both marked and no data, so we must check the REQ_DISCARD first when getting the request type. This resolve: http://tracker.ceph.com/issues/190 [ Ilya Dryomov: This is incomplete and somewhat buggy, see follow up commits by Josh Durgin for refinements and fixes which weren't folded in to preserve authorship. ] Signed-off-by: Guangliang Zhao <lucienchao@gmail.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'Documentation/extcon')
0 files changed, 0 insertions, 0 deletions