]> 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)
commite09e315f026f42f2c5a5295339467645ddcfc2d0
tree4418813382a61eafd7f3216b8efbc63a1d253f37
parent492811aeb0f8f3927c8381382e06af204d7c0c99
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