summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-01-25 18:16:21 +0100
committerIlya Dryomov <idryomov@gmail.com>2017-02-20 12:16:13 +0100
commitecd4a68a26a2159b9f7233c6e892c94c90074cb0 (patch)
treed6626f98677ec32deead22e327e968917b838bcc /drivers/lightnvm
parent2544a02090aa76ffb8069e6bf23d886e34d9c8da (diff)
downloadlinux-stable-ecd4a68a26a2159b9f7233c6e892c94c90074cb0.tar.gz
linux-stable-ecd4a68a26a2159b9f7233c6e892c94c90074cb0.tar.bz2
linux-stable-ecd4a68a26a2159b9f7233c6e892c94c90074cb0.zip
rbd: switch rbd_obj_method_sync() to ceph_osdc_call()
As explained in the previous commit, rbd_obj_request machinery (and rbd_osd_req_create() in particular) shouldn't be used for working with metadata objects. Switch to the recently added ceph_osdc_call(). It assumes single pages for outbound and inbound buffers, but that's OK - none of the callers need more than that. These pages need to be allocated (messenger is in dire need of proper iterator interface!), but we are swapping for pages[] and pagelist allocations in the existing code. Kill class_name argument - all rbd methods are under "rbd". Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions