]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: simplify rbd_merge_bvec()
authorAlex Elder <elder@inktank.com>
Sun, 21 Oct 2012 03:17:27 +0000 (22:17 -0500)
committerAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 22:18:08 +0000 (17:18 -0500)
commit9e88145e40d03f7a64c99e68110eec32acd5623d
tree9d03793d01f30a5d86f182a98a9cae1c45cb6947
parent7c41175418583ed19c0b1d8c289c3092a99b9c76
rbd: simplify rbd_merge_bvec()

The aim of this patch is to make what's going on rbd_merge_bvec() a
bit more obvious than it was before.  This was an issue when a
recent btrfs bug led us to question whether the merge function was
working correctly.

Use "obj" rather than "chunk" to indicate the units whose boundaries
we care about we call (rados) "objects".

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
drivers/block/rbd.c