b=20482
i=adilger
i=robert.read
----------------------------------------------------------------------
Modified Files:
lustre/ChangeLog lustre/lov/lov_request.c
lustre/osc/osc_request.c
----------------------------------------------------------------------
Description: Error handling in osc_statfs_interpret() has been improved.
Details : Check in osc_statfs_interpret() for EBADR.
Description: Do not send statfs() requests to OSTs disabled by administrator.
Details : Check in lov_prep_statfs_set() for non-NULL ltd_exp.
removed cwd "./" (refer to Bugzilla 14399).
* File join has been disabled in this release, refer to Bugzilla 16929.
+Severity : normal
+Bugzilla : 20482
+Description: Error handling in osc_statfs_interpret() has been improved.
+Details : Check in osc_statfs_interpret() for EBADR.
+
+Severity : normal
+Bugzilla : 20482
+Description: Do not send statfs() requests to OSTs disabled by administrator.
+Details : Check in lov_prep_statfs_set() for non-NULL ltd_exp.
+
Severity : enhancement
Bugzilla : 20200
Description: Added sanity-quota test to for lfs(1) to work with numeric uid/gid.
continue;
}
+ /* skip targets that have been explicitely disabled by the
+ * administrator */
+ if (!lov->lov_tgts[i]->ltd_exp) {
+ CDEBUG(D_HA, "lov idx %d administratively disabled\n", i);
+ continue;
+ }
+
OBD_ALLOC(req, sizeof(*req));
if (req == NULL)
GOTO(out_set, rc = -ENOMEM);
struct obd_statfs *msfs;
ENTRY;
+ if (rc == -EBADR)
+ /* The request has in fact never been sent
+ * due to issues at a higher level (LOV).
+ * Exit immediately since the caller is
+ * aware of the problem and takes care
+ * of the clean up */
+ RETURN(rc);
+
if ((rc == -ENOTCONN || rc == -EAGAIN) &&
(aa->aa_oi->oi_flags & OBD_STATFS_NODELAY))
GOTO(out, rc = 0);