rbd: record image-relative offset in object requests
authorAlex Elder <elder@inktank.com>
Thu, 24 Jan 2013 22:13:36 +0000 (16:13 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:39 +0000 (21:18 -0700)
commit7da22d296d871174f3e8251a02a8f86a90c7463b
tree085189379d80125b876aa5bb3cb3e11245c2548e
parent55f27e09312310d4dea9bb7b80c696f407caf1be
rbd: record image-relative offset in object requests

For an image object request we will need to know what offset within
the rbd image the request covers.  Record that when the object
request gets created.

Update the I/O error warnings so they use this so what's reported
is more informative.

Rename a local variable to fit the convention used everywhere else.

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