]> git.karo-electronics.de Git - linux-beck.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)
commite0c594878e3211b09208c779df5f996f0b831d9e
tree4418813382a61eafd7f3216b8efbc63a1d253f37
parent9516e45b25d9967c35d2e798496ec5e590aaa24f
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