Whamcloud - gitweb
LU-14734 ldiskfs: improve message for large_dir
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 11 Jan 2022 17:49:41 +0000 (09:49 -0800)
committerJohn L. Hammond <jhammond@whamcloud.com>
Thu, 13 Jan 2022 15:28:59 +0000 (15:28 +0000)
Make it more clear that the large_dir feature has already been
enabled, rather than making the admin think that they need to
enable the feature themselves.

Lustre-change: https://review.whamcloud.com/45046
Lustre-commit: 2a24b6ec67da9224e1cb6226166cde3a9c95431d

Test-Parameters: trivial
Fixes: f5967b06aac5 ("LU-14734 osd-ldiskfs: enable large_dir automatically")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ica59d3370148ed277d3541c05be065c4638daf8d
Reviewed-on: https://review.whamcloud.com/46045
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c

index beef032..3ea92b0 100644 (file)
@@ -7912,7 +7912,7 @@ static int osd_mount(const struct lu_env *env,
        if (unlikely(!ldiskfs_has_feature_largedir(o->od_mnt->mnt_sb) &&
                     !strstr(name, "MGS"))) {
                ldiskfs_set_feature_largedir(o->od_mnt->mnt_sb);
-               LCONSOLE_INFO("%s: enable 'large_dir' feature on device '%s'\n",
+               LCONSOLE_INFO("%s: enabled 'large_dir' feature on device %s\n",
                              name, dev);
        }
 #endif