]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext4: invalidate pages if delalloc block allocation fails.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 16 Mar 2010 00:25:55 +0000 (20:25 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 May 2010 21:27:05 +0000 (14:27 -0700)
commitee39e52e834ebfd523980bd518943ae4ca340868
treeda9323295fdf6a4c93245cbffe700420a9258ca4
parent8a63de3a1462918dcba19f19ba0304284654a193
ext4: invalidate pages if delalloc block allocation fails.

commit c4a0c46ec92c194c873232b88debce4e1a448483 upstream.

We are a bit agressive in invalidating all the pages. But
it is ok because we really don't know why the block allocation
failed and it is better to come of the writeback path
so that user can look for more info.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Jayson R. King <dev@jaysonking.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/inode.c