Whamcloud - gitweb
LU-8910 osp: Add correct handling of errors to osp_statfs_interpret 67/24167/5
authorSergey Cheremencev <c17829@cray.com>
Tue, 6 Dec 2016 09:16:05 +0000 (12:16 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:13:22 +0000 (19:13 +0000)
commit34e3281f63528630116c8164eb4cd2b5af92317d
tree780265cf7553c76bc525f222713bc2554d1a86e5
parent6e985684b822324143c686e919fe7a75bb16b440
LU-8910 osp: Add correct handling of errors to osp_statfs_interpret

MDT's statfs info could be disagreed with OST's info for a very long time.
If osp_statfs_update() is called and extends the timeout 1000*obd_timeout
into the future but then osp_statfs_interpret() hits an error it
will never reset the timeout.
Now when osp_update_statfs request fails osp_statfs_interpret causes
osp_precreate_cleanup_orphans to send new one after 10 seconds.

Change-Id: Ib282d806ba4932db5c72df34905988f96de99297
Cray-bug-id: MRP-3892
Signed-off-by: Sergey Cheremencev <c17829@cray.com>
Reviewed-on: https://review.whamcloud.com/24167
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_precreate.c