Whamcloud - gitweb
LU-11943 llog: Reset current log on ENOSPC 59/34459/4
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 28 Feb 2019 18:02:13 +0000 (13:02 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2019 06:27:58 +0000 (06:27 +0000)
commit4fd6fbbd0f0a0f45cd41b560c4711002e86747b6
treeefd11d87d32ea9d0f399017099a2c29e49f1c198
parent15d4ffba21dc9d18c3cba6dfcb134112d010e022
LU-11943 llog: Reset current log on ENOSPC

The original LU-10527 patch:
"LU-10527 obdclass: don't recycle loghandle upon ENOSPC"
https://review.whamcloud.com/#/c/30897/

Kept the current log on ENOSPC.

This appears to cause llog corruption on failover, and the
other part of the original patch (removing an incorrect
assert) should be sufficient to fix the original issue.

Fixes: 5761b9576d39 ("LU-10527 obdclass: don't recycle loghandle upon ENOSPC")

Lustre-change: https://review.whamcloud.com/34347
Lustre-commit: 7f4a1dd92a900a55cbb980bac3d20c32968334ec

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ie5c0ab77940c1be0ec1f166e4d38080b254bed5c
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34459
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/llog_cat.c