summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commit2e9ee850355593e311d9a26542290fe51e152f74 (patch)
treee860a33119edf36e367ad354428dfc0d6201273c /scripts/mod
parent93e3270c87549dc531a0b0e5d06362d998d810cb (diff)
downloadop-kernel-dev-2e9ee850355593e311d9a26542290fe51e152f74.zip
op-kernel-dev-2e9ee850355593e311d9a26542290fe51e152f74.tar.gz
ext4: Use page_mkwrite vma_operations to get mmap write notification.
We would like to get notified when we are doing a write on mmap section. This is needed with respect to preallocated area. We split the preallocated area into initialzed extent and uninitialzed extent in the call back. This let us handle ENOSPC better. Otherwise we get ENOSPC in the writepage and that would result in data loss. The changes are also needed to handle ENOSPC when writing to an mmap section of files with holes. Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud