summaryrefslogtreecommitdiff
path: root/timer.h
blob: 68809a68d44227f44aa530d41c09dfc3470380d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef TIMER_H
#define TIMER_H

#include <sys/time.h>

extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,
				      unsigned long usec);

extern int get_user_hz(void);

#endif /* TIMER_H */
ion value='2'>stat only
authorChandan Rajendra <chandan@linux.vnet.ibm.com>2016-07-04 10:04:39 +0530
committerDavid Sterba <dsterba@suse.com>2016-07-26 13:52:25 +0200
commit751bebbe0ad261b3ac5d9e75eaec4d5fe9e23160 (patch)
treec2f8dc3e1ac4a18ef6789a2d86564e777f0d4f08
parentdda3245eca18c73413a854a834c41fc770feb0dd (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>
Diffstat