summaryrefslogtreecommitdiff
path: root/sig.h
blob: 10627b81ed3499d232f84ea89da44fb4ee67ed3b (plain)
1
2
3
4
5
6
7
#ifndef SIG_H
#define SIG_H

extern void register_signal(int signal, void (*handler)(int));
extern void register_signal_f(int signal, void (*handler)(int), int flags);

#endif /* SIG_H */
lass='ctrl'>
authorChristoph Hellwig <hch@lst.de>2016-09-19 11:09:48 +1000
committerDave Chinner <david@fromorbit.com>2016-09-19 11:09:48 +1000
commit85a6e764ff5485dfe1edf5e47290e4d32ea866d5 (patch)
tree904f32368131bdff904563606ac31952ddc08d1a
parentf8e3a8257538af8dbdd15d098c0cfba6ccbabe7a (diff)
xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case
For long growing file writes we will usually already have the eofblocks tag set when adding more speculative preallocations. Add a flag in the inode to allow us to skip the the fairly expensive AG-wide spinlocks and multiple radix tree operations in that case. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat