Whamcloud - gitweb
There was a race between ll_unlink and ll_create_node: notably,
authorbraam <braam>
Wed, 27 Mar 2002 23:35:45 +0000 (23:35 +0000)
committerbraam <braam>
Wed, 27 Mar 2002 23:35:45 +0000 (23:35 +0000)
commit448aa258e18e2cd9f7d826069a6b493d0feb5882
tree88269b2eef6691b0c6a94c7c96421f75aef5a688
parent408c1153295c8788a33d4d6b540aa88e03f0b087
There was a race between ll_unlink and ll_create_node: notably,
ll_unlink would make the inode available on the MDS before the local
dentry/inode on the client was put away.  This could lead to re-using
inode numbers with a concurrent create going on.

We fixed this using the generation number.  We also added the
inode/generation to unlink as a sanity check.
lustre/include/linux/lustre_idl.h
lustre/include/linux/lustre_mds.h
lustre/lib/mds_updates.c
lustre/llite/namei.c
lustre/mdc/mdc_reint.c
lustre/mds/handler.c
lustre/mds/mds_reint.c