]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ext3: Update ctime in ext3_splice_branch() only when needed
authorKazuya Mio <k-mio@sx.jp.nec.com>
Wed, 8 Feb 2012 07:34:29 +0000 (16:34 +0900)
committerJan Kara <jack@suse.cz>
Wed, 29 Feb 2012 20:53:46 +0000 (21:53 +0100)
commitac1334bfdae33be17ae6ae641bbbd1e6a2f04005
tree1d7beae4467acc1ba18a90d18b07eab5563c14de
parent053800a84b942511054b51299db4430b3d1b06bc
ext3: Update ctime in ext3_splice_branch() only when needed

Currently ext3 updates ctime in ext3_splice_branch() which is called whenever
we allocate one block. But it is wasteful because ext3 doesn't support
nanosecond timestamp. This leads to a performance loss.

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c