Whamcloud - gitweb
LU-11943 llog: Reset current log on ENOSPC 46/34346/4
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 28 Feb 2019 17:56:41 +0000 (12:56 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 2 Mar 2019 01:31:48 +0000 (01:31 +0000)
commit0cba3cc14fa68b8f43833abfb6f7bc3e547bce03
tree811be01144bf23ba760e60091379085cb3ca3038
parentb4c93d99c633003d90f478d999805c76ccd744f1
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/33850

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: 51e962be60cf ("LU-10527 obdclass: don't recycle loghandle upon ENOSPC")

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I5b9de69b8e737ca540e9a5af9ff6d1181213a0eb
Reviewed-on: https://review.whamcloud.com/34346
Tested-by: Jenkins
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/llog_cat.c