Consistent reproducer:
inaddy@iscsixfs:~$ uname -a Linux iscsixfs 4.4.0-87-generic #110~14.04.1-Ubuntu SMP Tue Jul 18 14:51:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
inaddy@iscsixfs:~$ dmesg | grep xfs
[ 381.648984] XFS (sda1): xfs_do_force_shutdown(0x2) called from line 1197 of file /build/linux-lts-xenial-N0BD4p/linux-lts-xenial-4.4.0/fs/xfs/xfs_log.c. Return address = 0xffffffffc02a16a8 [ 381.700064] XFS (sda1): xfs_log_force: error -5 returned.
inaddy@iscsixfs:~$ lsmod | grep xfs xfs 954368 1 libcrc32c 16384 1 xfs
inaddy@iscsixfs:~$ sudo umount /xfs01 [ 449.785939] sd 2:0:0:1: rejecting I/O to offline device [ 449.789923] blk_update_request: I/O error, dev sda, sector 0
inaddy@iscsixfs:~$ sudo rmmod xfs [ 452.928198] ============================================================================= [ 452.929647] BUG xfs_log_ticket (Not tainted): Objects remaining in xfs_log_ticket on kmem_cache_close() [ 452.931259] ----------------------------------------------------------------------------- [ 452.931259] [ 452.933002] INFO: Slab 0xffffea0002e67a80 objects=22 used=3 fp=0xffff8800b99eaf18 flags=0xffffc000000080 [ 452.934773] INFO: Object 0xffff8800b99ea000 @offset=0 [ 452.935693] INFO: Object 0xffff8800b99ea228 @offset=552 [ 452.936675] INFO: Object 0xffff8800b99ea2e0 @offset=736 [ 452.937642] kmem_cache_destroy xfs_log_ticket: Slab cache still has objects
Consistent reproducer:
inaddy@iscsixfs:~$ uname -a
Linux iscsixfs 4.4.0-87-generic #110~14.04.1-Ubuntu SMP Tue Jul 18 14:51:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
inaddy@iscsixfs:~$ dmesg | grep xfs
[ 381.648984] XFS (sda1): xfs_do_ force_shutdown( 0x2) called from line 1197 of file /build/ linux-lts- xenial- N0BD4p/ linux-lts- xenial- 4.4.0/fs/ xfs/xfs_ log.c. Return address = 0xffffffffc02a16a8
[ 381.700064] XFS (sda1): xfs_log_force: error -5 returned.
inaddy@iscsixfs:~$ lsmod | grep xfs
xfs 954368 1
libcrc32c 16384 1 xfs
inaddy@iscsixfs:~$ sudo umount /xfs01
[ 449.785939] sd 2:0:0:1: rejecting I/O to offline device
[ 449.789923] blk_update_request: I/O error, dev sda, sector 0
inaddy@iscsixfs:~$ sudo rmmod xfs ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- 9eaf18 flags=0xffffc00 0000080
[ 452.928198] =======
[ 452.929647] BUG xfs_log_ticket (Not tainted): Objects remaining in xfs_log_ticket on kmem_cache_close()
[ 452.931259] -------
[ 452.931259]
[ 452.933002] INFO: Slab 0xffffea0002e67a80 objects=22 used=3 fp=0xffff8800b9
[ 452.934773] INFO: Object 0xffff8800b99ea000 @offset=0
[ 452.935693] INFO: Object 0xffff8800b99ea228 @offset=552
[ 452.936675] INFO: Object 0xffff8800b99ea2e0 @offset=736
[ 452.937642] kmem_cache_destroy xfs_log_ticket: Slab cache still has objects