linux/drivers/staging/zram
Robert Jennings 7b19b8d45b zram: Prevent overflow in logical block size
On a 64K page kernel, the value PAGE_SIZE passed to
blk_queue_logical_block_size would overflow the logical block size
argument (resulting in setting it to 0).

This patch sets the logical block size to 4096, using a new
ZRAM_LOGICAL_BLOCK_SIZE constant.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-04 13:29:11 -08:00
..
Kconfig Staging: zram: make ZRAM depends on SYSFS 2011-01-20 16:06:18 -08:00
Makefile Staging: zram: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:41 -07:00
xvmalloc_int.h zram/vmalloc: Correct tunings to enable use with 64K pages 2011-02-04 13:29:10 -08:00
xvmalloc.c staging:zram:xvmalloc.c Fix a typo. 2011-01-20 16:08:23 -08:00
xvmalloc.h
zram_drv.c zram: Prevent overflow in logical block size 2011-02-04 13:29:11 -08:00
zram_drv.h zram: Prevent overflow in logical block size 2011-02-04 13:29:11 -08: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