Whamcloud - gitweb
- possibly (I'm almost sure) fix for FLD lookup err -2. Allocating new seq and setup...
authoryury <yury>
Sun, 15 Oct 2006 19:36:47 +0000 (19:36 +0000)
committeryury <yury>
Sun, 15 Oct 2006 19:36:47 +0000 (19:36 +0000)
commit14499cc2052922f0b3f7c1fdaf5a9f92d66b1ccf
tree1caf780eab19705216685eaeda9fc204315f20cd
parent99588a998dea5df9f104b72c716a0d1c0c1258f0
- possibly (I'm almost sure) fix for FLD lookup err -2. Allocating new seq and setup FLD for it should be atomic. Otherwise two threads allocating fids race and first (which allocated seq) deals with FLD setup and second (which just allocated fid in new seq) quickly sends fid in new seq to server and servers can't find it in FLD, because FLD did not see update yet;

- fix in lmv_placement_policy(). Take into account split dirs for creating child dirs too, not only files.
lustre/cmm/cmm_split.c
lustre/cmm/mdc_device.c
lustre/cmm/mdc_internal.h
lustre/include/obd.h
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c