Whamcloud - gitweb
LU-6825 ofd: statfs needs NOT check layout LFSCK status
authorFan Yong <fan.yong@intel.com>
Mon, 25 May 2015 22:38:35 +0000 (06:38 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 Jul 2015 17:37:33 +0000 (13:37 -0400)
commitcd5bda78aebd9b08050013673efe45e4e7ae7066
tree428247be49cc9d7eb5eb2cd6971a4dcc4fe13d71
parentc12d91242909536de340b4f3363f5b1588f5c013
LU-6825 ofd: statfs needs NOT check layout LFSCK status

The ofd_statfs() needs NOT to check whether the layout LFSCK is
rebuilding the LAST_ID file(s) on the OST or not, because:
1) Such checking will be done when the MDT wants to pre-allocate
   OST-objects via ofd_create_hdl().
2) The STATFS request may be from client, if ofd_statfs() returns
   -ENOSPC to the client under the case of layout LFSCK rebuilding
   the LAST_ID file(s), the client may be confused.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Iae9eb8485f3b971fda3bcd299df28db7ad4d80a0
Reviewed-on: http://review.whamcloud.com/15349
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/ofd/ofd_obd.c