Testing this patch:
inaddy@iscsixfs:~$ sudo uname -a
Linux iscsixfs 4.4.70+ #2 SMP Mon Jul 24 19:25:49 UTC 2017 x86_64 x86_64 x86_64
GNU/Linux
inaddy@iscsixfs:~$ sudo dmesg | grep xfs
[ 109.876336] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 109.876420] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 109.876463] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 109.876524] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
... tons of times ...
[ 114.612131] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 114.612204] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 114.612254] XFS (sda1): metadata I/O error: block 0xc34d83
("xfs_trans_read_buf_map") error 5 numblks 1
[ 114.631338] XFS (sda1): xfs_do_force_shutdown(0x2) called from line 1197 of
file /home/inaddy/sources/trees/xenial/fs/xfs/xfs_log.c. Return address =
0xffffffffc032e0d8
[ 114.631381] XFS (sda1): xfs_log_force: error -5 returned.
[ 114.635642] XFS (sda1): xfs_do_force_shutdown(0x2) called from line 1197 of
file /home/inaddy/sources/trees/xenial/fs/xfs/xfs_log.c. Return address =
0xffffffffc032e0d8
[ 114.680054] XFS (sda1): xfs_log_force: error -5 returned.
inaddy@iscsixfs:~$ lsmod | grep xfs
xfs 970752 1
libcrc32c 16384 1 xfs
inaddy@iscsixfs:~$ sudo umount /xfs01
[ 139.491719] sd 2:0:0:1: rejecting I/O to offline device
[ 139.492705] blk_update_request: I/O error, dev sda, sector 0
inaddy@iscsixfs:~$ sudo rmmod xfs
Patch fixes the issue.
inaddy@iscsixfs:~$ sudo modprobe xfs
inaddy@iscsixfs:~$ ls /dev/sd*
/dev/sda /dev/sda1 /dev/sdb /dev/sdb1
inaddy@iscsixfs:~$ sudo mount /dev/sda1 /xfs01
inaddy@iscsixfs:~$ ls /xfs01
Bonnie.1677
Disk is back online after module was reloaded.
(I could have checked slab objects for xfs_log_ticket but I guess this is
enough).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1706132
Title:
xfs slab objects (memory) leak when xfs shutdown is called
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1706132/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs