]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: subpage-blocksize: Rate limit scrub error message
authorChandan Rajendra <chandan@linux.vnet.ibm.com>
Mon, 4 Jul 2016 04:34:39 +0000 (10:04 +0530)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:52:25 +0000 (13:52 +0200)
commit66fe6b7eee3f0c9013f7b2c1f166e20b159ea340
treec2f8dc3e1ac4a18ef6789a2d86564e777f0d4f08
parentbadc26d17cb44278fb1fca9299417fef515f7c47
Btrfs: subpage-blocksize: Rate limit scrub error message

btrfs/073 invokes scrub ioctl in a tight loop. In subpage-blocksize
scenario this results in a lot of "scrub: size assumption sectorsize !=
PAGE_SIZE " messages being printed on the console. To reduce the number
of such messages this commit uses btrfs_err_rl() instead of
btrfs_err().

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c