Whamcloud - gitweb
b=4778
authorzhanghc <zhanghc>
Thu, 29 Jun 2006 04:28:30 +0000 (04:28 +0000)
committerzhanghc <zhanghc>
Thu, 29 Jun 2006 04:28:30 +0000 (04:28 +0000)
commit3b95d063066be736b8b41fe36056dc8503a17f64
tree1fc097aec066544b1ca1975e1f516b3288b37b04
parent1df96c4acbdc8c6bfec2437ad86527b3f6fd22a5
b=4778
r=dilger

DESCRIPTION:
    oscc->oscc_last_id and filter_last_id will mismatch
after using Lustre for a while, and will trigger LASSERTF.
this patch contains two modification:
    1, the whole operation of deleting orphans or precreating objects is
       protected by filter->fo_create_lock
    2, compare 'conn_cnt' before deleting or precreating, then avoid old
       request to be processed
lustre/include/obd.h
lustre/obdfilter/filter.c
lustre/osc/osc_create.c