]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.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)
committerGreg Farnum <greg@inktank.com>
Wed, 13 Mar 2013 00:45:07 +0000 (17:45 -0700)
commita783821d7b59471eefb022a1fb7cd204336b14e5
treed9bdd6b635c6421ded427cf7e085b30f2a2f1583
parent0ba1862f3af70eaac96866930d537a7348b77d74
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