Whamcloud - gitweb
LU-14734 ldiskfs: improve message for large_dir 46/45046/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 24 Sep 2021 17:40:05 +0000 (11:40 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 10 Oct 2021 03:30:31 +0000 (03:30 +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.

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/45046
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c

index f56d53c..1b9a566 100644 (file)
@@ -8036,7 +8036,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