rbd: extend the operation type
authorGuangliang Zhao <lucienchao@gmail.com>
Thu, 13 Mar 2014 03:21:35 +0000 (11:21 +0800)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:30 +0000 (21:03 +0400)
commit6d2940c881aeb9f46baac548dc4e906a53957dba
tree4d1f1097be58b33f99044f5ff807f3fc61c3c6b5
parentc622d226155b12276ae3d29d546f4b314d7cd68c
rbd: extend the operation type

It could only handle the read and write operations now,
extend it for the coming discard support.

Signed-off-by: Guangliang Zhao <lucienchao@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c