]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: record byte count not page count
authorAlex Elder <elder@inktank.com>
Thu, 7 Mar 2013 21:38:25 +0000 (15:38 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:36 +0000 (21:16 -0700)
commit5b8b1a7d849223461b1a8e52b38856c804553903
tree4418813382a61eafd7f3216b8efbc63a1d253f37
parentbca456175ad27d6b429219f0870fcc6e5297dd8f
libceph: record byte count not page count

Record the byte count for an osd request rather than the page count.
The number of pages can always be derived from the byte count (and
alignment/offset) but the reverse is not true.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c
fs/ceph/addr.c
fs/ceph/file.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c