Whamcloud - gitweb
Add journal wrapping calls to all of the mds_reint operations. We also
authoradilger <adilger>
Thu, 4 Apr 2002 09:25:29 +0000 (09:25 +0000)
committeradilger <adilger>
Thu, 4 Apr 2002 09:25:29 +0000 (09:25 +0000)
commitb905491e14020c8732bd43a831589a2666a7b7e4
tree7ac91f1f0a85079ebb8b2d2492094797e50b0b7c
parentd2dfb5a2f8e32e6d347c6854f14ce28e7afbafb7
Add journal wrapping calls to all of the mds_reint operations.  We also
use the mds_fs_setattr method to change the fields in the inode, as this
will properly mark the inode dirty and ensure it is written to disk.

This fixes the problem of updates to the MDS inode not being written to
disk because the dentry and inode are being discarded too quickly.

The journal wrapping of all reint operations will make the addition of
calls to atomically update last recieved trivial, so it is time well spent.
lustre/include/linux/lustre_mds.h
lustre/mds/handler.c
lustre/mds/mds_ext2.c
lustre/mds/mds_ext3.c
lustre/mds/mds_reint.c