linux/drivers/staging/zram
Jerome Marchand 924bd88d70 Staging: zram: allow partial page operations
Commit 7b19b8d45b (zram: Prevent overflow
in logical block size) introduced ZRAM_LOGICAL_BLOCK_SIZE constant to
prevent overflow of logical block size on 64k page kernel.
However, the current implementation of zram only allow operation on block
of the same size as a page. That makes theorically legit 4k requests fail
on 64k page kernel.

This patch makes zram allow operation on partial pages. Basically, it
means we still do operations on full pages internally, but only copy the
relevent segments from/to the user memory.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-07-05 10:07:13 -07:00
..
Kconfig staging: Allow sharing xvmalloc for zram and zcache 2011-02-23 14:02:56 -08:00
Makefile staging: Allow sharing xvmalloc for zram and zcache 2011-02-23 14:02:56 -08:00
xvmalloc_int.h zram/xvmalloc: Close 32byte hole on 64bit CPUs 2011-02-04 13:29:11 -08:00
xvmalloc.c staging: Allow sharing xvmalloc for zram and zcache 2011-02-23 14:02:56 -08:00
xvmalloc.h
zram_drv.c Staging: zram: allow partial page operations 2011-07-05 10:07:13 -07:00
zram_drv.h Staging: zram: allow partial page operations 2011-07-05 10:07:13 -07:00
zram_sysfs.c Staging: zram: round up the disk size provided by user 2011-01-20 16:06:18 -08:00
zram.txt Staging: zram: Update zram documentation 2010-08-31 15:36:36 -07:00