commit | 9bb0ce2b0b734f3325ea5cd6b351856eeac94f78 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Jun 13 16:20:18 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon Jun 13 16:26:17 2011 -0700 |
tree | afd4c5d343ddfabae8c3b78bff342f6ba6037055 | |
parent | 773e9b442693b250aa6c452cb0cf5a9343f51cef [diff] |
libceph: fix page calculation for non-page-aligned io Set the page count correctly for non-page-aligned IO. We were already doing this correctly for alignment, but not the page count. Fixes DIRECT_IO writes from unaligned pages. Signed-off-by: Sage Weil <sage@newdream.net>