From 0400413743513f832f7d342425d5c82fbb7203ef Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 16 Feb 2006 00:12:46 +0000 Subject: [PATCH] Branch b_release_1_4_6 Set a flag on the MDS last_rcvd at startup indicating this is an MDD device. Useful for 1.6.0 upgrade capability. r=nathan --- lustre/mds/mds_fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mds/mds_fs.c b/lustre/mds/mds_fs.c index 3332e12..7d4956f 100644 --- a/lustre/mds/mds_fs.c +++ b/lustre/mds/mds_fs.c @@ -275,6 +275,7 @@ static int mds_init_server_data(struct obd_device *obd, struct file *file) mds->mds_last_transno = le64_to_cpu(msd->msd_last_transno); + msd->msd_feature_compat = cpu_to_le32(OBD_COMPAT_MDT); CDEBUG(D_INODE, "%s: server last_transno: "LPU64"\n", obd->obd_name, mds->mds_last_transno); CDEBUG(D_INODE, "%s: server mount_count: "LPU64"\n", -- 1.8.3.1