]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: move stripe_unit and stripe_count into header
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 14:43:47 +0000 (09:43 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:39 +0000 (21:19 -0700)
commit37896a1458a0ba2d3d798d8c7969c27729f38797
tree0c8c0f955bc6fb00606e4eeaf001077e14c33465
parent749677dfc5b9ee41a0d03725dc7c8199c7fa37ee
rbd: move stripe_unit and stripe_count into header

This commit added fetching if fancy striping parameters:
    09186ddb rbd: get and check striping parameters

They are almost unused, but the two fields storing the information
really belonged in the rbd_image_header structure.

This patch moves them there.

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