eCryptfs: Read/write entire page during page IO
authorTyler Hicks <tyhicks@canonical.com>
Mon, 15 Apr 2013 23:16:24 +0000 (16:16 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 8 Jun 2013 00:28:22 +0000 (17:28 -0700)
commit0f89617623fed9541ead9497043e907466848a9f
treea67e630c543c1d44f041acd789ec8420b457065c
parent12003e5b18ca33807b3f9448309ec92184192b85
eCryptfs: Read/write entire page during page IO

When reading and writing encrypted pages, perform IO using the entire
page all at once rather than 4096 bytes at a time.

This only affects architectures where PAGE_CACHE_SIZE is larger than
4096 bytes.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/crypto.c