aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2012-05-29 15:06:43 -0700
committerLinus Torvalds <[email protected]>2012-05-29 16:22:23 -0700
commit4fb5ef089b288942c6fc3f85c4ecb4016c1aa4c3 (patch)
treeaff66acd4b8a0e8cc060f5bf20ad3d6d75bdb7ab /tools/perf/scripts/python
parent1aac1400319d30786f32b9290e9cc923937b3d57 (diff)
tmpfs: support SEEK_DATA and SEEK_HOLE
It's quite easy for tmpfs to scan the radix_tree to support llseek's new SEEK_DATA and SEEK_HOLE options: so add them while the minutiae are still on my mind (in particular, the !PageUptodate-ness of pages fallocated but still unwritten). But I don't know who actually uses SEEK_DATA or SEEK_HOLE, and whether it would be of any use to them on tmpfs. This code adds 92 lines and 752 bytes on x86_64 - is that bloat or worthwhile? [[email protected]: fix warning with CONFIG_TMPFS=n] Signed-off-by: Hugh Dickins <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Josef Bacik <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Andreas Dilger <[email protected]> Cc: Dave Chinner <[email protected]> Cc: Marco Stornelli <[email protected]> Cc: Jeff liu <[email protected]> Cc: Chris Mason <[email protected]> Cc: Sunil Mushran <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions