summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mdsmap.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2016-01-14 15:22:35 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-15 11:40:52 -0800
commite02d238c9852a91b30da9ea32ce36d1416cdc683 (patch)
tree71086a6b6dfef99f3d446d477fe0d1124e860916 /fs/ceph/mdsmap.c
parent75d8947a36d0c9aedd69118d1f14bf424005c7c2 (diff)
downloadop-kernel-dev-e02d238c9852a91b30da9ea32ce36d1416cdc683.zip
op-kernel-dev-e02d238c9852a91b30da9ea32ce36d1416cdc683.tar.gz
zram/zcomp: do not zero out zcomp private pages
Do not __GFP_ZERO allocated zcomp ->private pages. We keep allocated streams around and use them for read/write requests, so we supply a zeroed out ->private to compression algorithm as a scratch buffer only once -- the first time we use that stream. For the rest of IO requests served by this stream ->private usually contains some temporarily data from the previous requests. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud