rbd: define separate read and write format funcs
authorAlex Elder <elder@inktank.com>
Fri, 19 Apr 2013 20:34:50 +0000 (15:34 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:07 +0000 (21:19 -0700)
commit9d4df01f08e2f2a777f3476741ff4ef8afb04be6
tree7a93960eb3821f8b188a7745cae26d7885be57f3
parent6c57b5545d46e276381a15a59283c984cf3f94e3
rbd: define separate read and write format funcs

Separate rbd_osd_req_format() into two functions, one for read
requests and the other for write requests.

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