diff options
author | 2016-01-21 15:56:03 +0530 | |
---|---|---|
committer | 2016-02-01 19:24:29 +0100 | |
commit | 27772b68f6994f0011690899c31717b7cbec51c9 (patch) | |
tree | 51c06f3d06a72082de3e63e6c7c2a9a710d4369b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: Fix block size returned to user space (diff) | |
download | wireguard-linux-27772b68f6994f0011690899c31717b7cbec51c9.tar.xz wireguard-linux-27772b68f6994f0011690899c31717b7cbec51c9.zip |
Btrfs: Clean pte corresponding to page straddling i_size
When extending a file by either "truncate up" or by writing beyond i_size, the
page which had i_size needs to be marked "read only" so that future writes to
the page via mmap interface causes btrfs_page_mkwrite() to be invoked. If not,
a write performed after extending the file via the mmap interface will find
the page to be writaeable and continue writing to the page without invoking
btrfs_page_mkwrite() i.e. we end up writing to a file without reserving disk
space.
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions