Re: [PATCH V20 19/19] Btrfs: subpage-blocksize: Rate limit scrub error message

2016-07-12 Thread David Sterba
On Mon, Jul 04, 2016 at 10:04:39AM +0530, Chandan Rajendra wrote: > 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 messa

[PATCH V20 19/19] Btrfs: subpage-blocksize: Rate limit scrub error message

2016-07-03 Thread Chandan Rajendra
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