commit | 751bebbe0ad261b3ac5d9e75eaec4d5fe9e23160 | [log] [tgz] |
---|---|---|
author | Chandan Rajendra <chandan@linux.vnet.ibm.com> | Mon Jul 04 10:04:39 2016 +0530 |
committer | David Sterba <dsterba@suse.com> | Tue Jul 26 13:52:25 2016 +0200 |
tree | c2f8dc3e1ac4a18ef6789a2d86564e777f0d4f08 | |
parent | dda3245eca18c73413a854a834c41fc770feb0dd [diff] |
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>