diff options
author | Alex Elder <elder@inktank.com> | 2013-02-26 14:23:07 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-02-26 15:00:06 -0800 |
commit | c47f9371545abe2510ac3b66c3fc180921816f65 (patch) | |
tree | 4e27f3f2f7a7102a584b9755f0783fc34d77f9e5 /include/linux/reboot.h | |
parent | 39bf2c5d096729939cab657fe641044eceaa84a2 (diff) |
rbd: pass length, not op for osd completions
The only thing type-specific osd completion functions do with their
osd op parameter is (in some cases) extract the number of bytes
transferred from it. In the other cases, the xferred bytes field
is not used, and total message data transfer byte count (which may
well be zero) is used.
Just set the object request transfer count in the main osd request
callback function and provide that to the other routines. There is
then no longer any need to pass the op pointer to the type-specific
completion routines, so drop those parameters.
Stop doing anything with the total message data length.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/reboot.h')
0 files changed, 0 insertions, 0 deletions