Whamcloud - gitweb
Set mtime and ctime on old inode if truncating by thread.
authoradilger <adilger>
Thu, 17 Jul 2003 21:07:20 +0000 (21:07 +0000)
committeradilger <adilger>
Thu, 17 Jul 2003 21:07:20 +0000 (21:07 +0000)
commit680cb0374f4bc572e561413c321f7c23a5ffa063
tree8d50189c1e6d57a030b6516dbe5cfefe63da7200
parentc5fd06ce3192d7233bf4909a9583eb2ae6b03dfc
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.20.patch