X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-zfs%2Fosd_handler.c;h=25ffbc6882ff6f144e438ed2eeb7312b47826656;hb=bb6ed7dcde71b3878402f1ad4c2d88bc8edd8557;hp=0d135b4ff880948a46bc8788f85abbbe93c4d64a;hpb=0fedb017c12629d145fa0577451d43adc757eb36;p=fs%2Flustre-release.git diff --git a/lustre/osd-zfs/osd_handler.c b/lustre/osd-zfs/osd_handler.c index 0d135b4..25ffbc6 100644 --- a/lustre/osd-zfs/osd_handler.c +++ b/lustre/osd-zfs/osd_handler.c @@ -1100,6 +1100,13 @@ static int osd_mount(const struct lu_env *env, GOTO(err, rc); } +#ifdef HAVE_DMU_USEROBJ_ACCOUNTING + if (!osd_dmu_userobj_accounting_available(o)) + CWARN("%s: dnode accounting not enabled: " + "enable feature@userobj_accounting in pool\n", + o->od_mntdev); +#endif + /* parse mount option "noacl", and enable ACL by default */ opts = lustre_cfg_string(cfg, 3); if (opts == NULL || strstr(opts, "noacl") == NULL)