Whamcloud - gitweb
LU-5026 obdclass: Add lbug_on_eviction option 57/10257/13
authorRyan Haasken <haasken@cray.com>
Wed, 7 May 2014 21:33:24 +0000 (16:33 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Oct 2018 14:00:11 +0000 (14:00 +0000)
commit97381ffc9231a9e8b997fd3b4d66c9c5ade1b4d0
treeda0d45090569186012f9a58b4fafdfa3fe5bd18e
parent12c0648275d598719ab3c48e388451fc6e664451
LU-5026 obdclass: Add lbug_on_eviction option

Add an lbug_on_eviction sysfs interface.  When it is set to a non-zero
value on a client, it will cause the client to LBUG whenever it is
evicted by the server. Note, an MDS is a client to OSTs, and every
server is a client of MGS. Thus, it is probably desireable to leave
this set to zero on servers.

Change-Id: I2f694e4bc1b1ec9daf52f8a6ac46ad87f40f810f
Cray-bug-id: LUS-2591
Signed-off-by: Ryan Haasken <haasken@cray.com>
Signed-off-by: Chris Horn <hornc@cray.com>
Reviewed-on: https://review.whamcloud.com/10257
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/obdclass/class_obd.c
lustre/obdclass/obd_sysfs.c
lustre/ptlrpc/import.c