Whamcloud - gitweb
Set mtime and ctime on old inode if truncating by thread.
authoradilger <adilger>
Thu, 17 Jul 2003 21:07:19 +0000 (21:07 +0000)
committeradilger <adilger>
Thu, 17 Jul 2003 21:07:19 +0000 (21:07 +0000)
commitdd2ab5d696a2104556fb450ff46cc8f42f9cf285
tree4139352c9e6e9d603cb5040c39921c4803427b8a
parentdf90dfc9d8b07be12be6e9bed11390dfa0eee6a0
Set mtime and ctime on old inode if truncating by thread.
Also, mark the inodes dirty _after_ we modify them (done in orphan_add/del),
in case of crash before the real truncate is called.

I thought this might be the cause of bug 1530 (deleted files come back to
life), but that would not be the case even if there is a problem in the
delete thread as the name unlink is done before the delete thread gets
involved.
lustre/kernel_patches/patches/ext3-delete_thread-2.4.18.patch