Whamcloud - gitweb
LU-11213 mdc: add async statfs
Add obd_statfs_async() interface for MDC, the statfs request
is sent by ptlrpcd.
This statfs result is for each MDT separately, it's different
from current cached statfs which is aggregated statfs of all
MDTs.
The max age of statfs result is decided by lmv_desc.ld_qos_maxage.
It will deactivate MDC on failure, and activate MDC on success.
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I8e1bd104fb60ff81e2eb26e49a89a5baf8050d47
Reviewed-on: https://review.whamcloud.com/34359
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>