Skip to content
Commit 9bb0ce2b authored by Sage Weil's avatar Sage Weil
Browse files

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: default avatarSage Weil <sage@newdream.net>
parent 773e9b44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment