commit | ab226e21ad34f6ef52e00d2ab399d2364b4cdfee | [log] [tgz] |
---|---|---|
author | Henry C Chang <henry_c_chang@tcloudcomputing.com> | Wed Dec 15 20:41:54 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Wed Dec 15 20:46:16 2010 -0800 |
tree | 95b9683b601a0602d9f813f7e6786e9a0e6da118 | |
parent | d96c9043d1588f04c7f467167f653c07d83232d5 [diff] |
ceph: fix direct-io on non-page-aligned buffers The user buffer may be 512-byte aligned, not page-aligned. We were assuming the buffer was page-aligned and only accounting for non-page-aligned io offsets. Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com> Signed-off-by: Sage Weil <sage@newdream.net>