aboutsummaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-03-07 11:40:08 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:52 -0500
commit8d63e318c4eb1bea6f7e3cb4b77849eaa167bfec (patch)
tree4783d4d0ab9a5d9c17e8eb0f93b0d279ad1b879a /Kconfig
parentlibceph: rename "page_shift" variable to something sensible (diff)
downloadlinux-dev-8d63e318c4eb1bea6f7e3cb4b77849eaa167bfec.tar.xz
linux-dev-8d63e318c4eb1bea6f7e3cb4b77849eaa167bfec.zip
libceph: isolate kmap() call in write_partial_msg_pages()
In write_partial_msg_pages(), every case now does an identical call to kmap(page). Instead, just call it once inside the CRC-computing block where it's needed. Move the definition of kaddr inside that block, and make it a (char *) to ensure portable pointer arithmetic. We still don't kunmap() it until after the sendpage() call, in case that also ends up needing to use the mapping. Signed-off-by: Alex Elder <elder@dreamhost.com> Reviewed-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions