diff options
| author | Christoph Hellwig <[email protected]> | 2010-06-24 09:46:01 +1000 | 
|---|---|---|
| committer | Alex Elder <[email protected]> | 2010-07-26 13:16:41 -0500 | 
| commit | 20cb52ebd1b5ca6fa8a5d9b6b1392292f5ca8a45 (patch) | |
| tree | c4644ab4b8b12d2c6100fb47c7dfa4c5949107ca /tools/perf/scripts/python/syscall-counts.py | |
| parent | 89f3b363967a958e756a549c8747c1fb9c930c1a (diff) | |
xfs: simplify xfs_vm_writepage
The writepage implementation in XFS still tries to deal with dirty but
unmapped buffers which used to caused by writes through shared mmaps.  Since
the introduction of ->page_mkwrite these can't happen anymore, so remove the
code dealing with them.
Note that the all_bh variable which causes us to start I/O on all buffers on
the pages was controlled by the count of unmapped buffers, which also
included those not actually dirty.  It's now unconditionally initialized to
0 but set to 1 for the case of small file size extensions.  It probably can
be removed entirely, but that's left for another patch.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions