Whamcloud - gitweb
LU-14119 osd: add mount option "resetoi"
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_oi.c
index bc4882a..b44af04 100644 (file)
@@ -405,6 +405,8 @@ int osd_oi_init(struct osd_thread_info *info, struct osd_device *osd,
        }
 
        if (restored) {
        }
 
        if (restored) {
+               LCONSOLE_WARN("%s: reset Object Index mappings\n",
+                             osd_dev2name(osd));
                rc = osd_remove_ois(info, osd);
                if (rc)
                        RETURN(rc);
                rc = osd_remove_ois(info, osd);
                if (rc)
                        RETURN(rc);