Whamcloud - gitweb
Workaround in ll_create for BA OST hang bug - we were not setting the
authoradilger <adilger>
Tue, 8 Oct 2002 21:45:33 +0000 (21:45 +0000)
committeradilger <adilger>
Tue, 8 Oct 2002 21:45:33 +0000 (21:45 +0000)
commit538e0374e409c33f3c4a4165dfb7f291b322f74d
tree4501a5300250fefbd49ac0629f4d64e509dccf7b
parent3c7b0709bcc9e90e9386b8e59523b2583ff8386f
Workaround in ll_create for BA OST hang bug - we were not setting the
o_uid and o_gid fields to obd_create (nor the corresponding o_valid flags)
and the BA OSTs did like that one bit, and reset themselves (hence timeout).

For now, we set the uid = gid = 0 always, to avoid issues if the file
permissions are changed on the MDS (we would not see a corresponding
permission change on the OST).  Need to revisit this when we do kerberos
security properly.
lustre/llite/namei.c
lustre/llite/rw.c