X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosp%2Fosp_internal.h;h=2f08aaa820af41b5bbb2342ae8291ff460200434;hp=f18395500dc90afffc8b6223c9f4a75baec6db8a;hb=d0ba82e44038b2658bbd1a06d52641fda9fc1fe7;hpb=9c255853668ed64dfdd8eec9b157f05c2b7832ed diff --git a/lustre/osp/osp_internal.h b/lustre/osp/osp_internal.h index f183955..2f08aaa 100644 --- a/lustre/osp/osp_internal.h +++ b/lustre/osp/osp_internal.h @@ -174,6 +174,9 @@ struct osp_device { unsigned long opd_syn_last_processed_id; struct osp_id_tracker *opd_syn_tracker; struct list_head opd_syn_ontrack; + /* stop processing new requests until barrier=0 */ + atomic_t opd_syn_barrier; + wait_queue_head_t opd_syn_barrier_waitq; /* * statfs related fields: OSP maintains it on its own