From: adilger Date: Fri, 6 Jun 2003 21:34:09 +0000 (+0000) Subject: Fix lock ordering deadlock on the MDS when clients are connecting at the X-Git-Tag: v1_7_100~1^91~139 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6e40b85e06f8286a5018ec441f65cbf8a7fc06b9;p=fs%2Flustre-release.git Fix lock ordering deadlock on the MDS when clients are connecting at the same time that regular MDS operations are ongoing. --- diff --git a/lustre/mds/mds_internal.h b/lustre/mds/mds_internal.h index 609bc6f..585daec 100644 --- a/lustre/mds/mds_internal.h +++ b/lustre/mds/mds_internal.h @@ -4,6 +4,11 @@ void mds_mfd_destroy(struct mds_file_data *mfd); int mds_update_unpack(struct ptlrpc_request *, int offset, struct mds_update_record *); +/* mds/mds_fs.c */ +int mds_client_add(struct obd_device *obd, struct mds_export_data *med, + int cl_off); +int mds_client_free(struct obd_export *exp); + #ifdef __KERNEL__ void mds_pack_inode2fid(struct ll_fid *fid, struct inode *inode); void mds_pack_inode2body(struct mds_body *body, struct inode *inode);