]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Staging: ramzswap: Set block size to PAGE_SIZE
authorNitin Gupta <ngupta@vflare.org>
Thu, 28 Jan 2010 15:43:39 +0000 (21:13 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:53 +0000 (16:42 -0800)
commit5d83d5a0b5ee332b724978d657c0af17f14e807e
tree7d6d8edf314453b6653caa163d746182aea27ff7
parent7eef7533909f3ea50e8b375777242f778e8da11e
Staging: ramzswap: Set block size to PAGE_SIZE

ramzswap block size needs to be set equal to PAGE_SIZE to
avoid receiving any unaligned block I/O requests (happens
due to readahead logic during swapon). These unaligned
accesses produce unnecessary I/O errors, scaring users.

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ramzswap/ramzswap_drv.c