libceph: define and use ceph_crc32c_page()
authorAlex Elder <elder@inktank.com>
Sat, 9 Mar 2013 02:59:00 +0000 (20:59 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:52 +0000 (21:16 -0700)
commit35b6280899424a0faf5410ce1ee86f9682528e6c
treee139fb767345c9bb09a8ea884fc7bb3303c867bc
parentafb3d90e205140415477d501ff9e2a33ff0b197f
libceph: define and use ceph_crc32c_page()

Factor out a common block of code that updates a CRC calculation
over a range of data in a page.

This and the preceding patches are related to:
    http://tracker.ceph.com/issues/4403

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c