Whamcloud - gitweb
Branch b1_4_mountconf
authornathan <nathan>
Thu, 12 Jan 2006 22:43:04 +0000 (22:43 +0000)
committernathan <nathan>
Thu, 12 Jan 2006 22:43:04 +0000 (22:43 +0000)
commitd1b3ac0a969cc5241c51b6ee60ab258c64ae2373
tree727902b33e4875e02c0a8643b7c9c8e33c76c889
parent1c85b016b11aea5355918acb54624936e01ad99e
Branch b1_4_mountconf
b=4482

During an ost_add, mds_lov_sync might be calling clearorphans on all osc's
before the mds has a chance to tell the osc what it's last transno is, in
which case clearorphans resets it to 0.
So change mds_lov_sync to only sync a single target at a time; then the
clearorphans call can only sync something the mds knows about.
This also allows syncing of all osc's in parallel, and removes all
requirements for an mds_lov_desc lock in the sync.
lustre/include/linux/obd.h
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c
lustre/mds/handler.c
lustre/mds/mds_lov.c
lustre/mgc/mgc_request.c
lustre/utils/mkfs_lustre.c