Staging: ramzswap: Set block size to PAGE_SIZE
authorNitin Gupta <ngupta@vflare.org>
Thu, 28 Jan 2010 15:43:39 +0000 (21:13 +0530)
committerMatt Sealey <matt@genesi-usa.com>
Fri, 10 Sep 2010 16:02:04 +0000 (11:02 -0500)
commit2461101919185548188987f13f535396f07bee08
treece14a207b27f891f91a95078e5d80767db3ac7ce
parentae5b62fb7e89403361da0ebca340af780c7d5b7f
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