Whamcloud - gitweb
LU-8435 tests: slab alloc error does not LBUG 45/21745/6
authorAurelien Degremont <aurelien.degremont@cea.fr>
Tue, 30 May 2017 21:56:06 +0000 (23:56 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 31 Aug 2017 19:15:39 +0000 (19:15 +0000)
commit15dac618aabf2d5611a280bce13ca79c673f4f6d
treef2849f413e6fa6626e161f25d8dcf36adfab7fcd
parentafc9ff6caff7d572041cabf0a957dc8749fce49d
LU-8435 tests: slab alloc error does not LBUG

Under memory pressure, for instance using a memory cgroup
and kmem.limit_in_bytes enforced (SLURM does this),
osc_extent_alloc() could fail and error handling will
hit an LBUG.

Add a test for this.

Test-Parameters: trivial testlist=sanity,sanity,sanity

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Change-Id: I135f05ee4be14521522c949e50bd4c8deb1f099a
Reviewed-on: https://review.whamcloud.com/21745
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/sanity.sh