From dfa82699b9dd6d5409e418a7e449a4c3b4ca2727 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 19 Sep 2016 17:07:41 -0400 Subject: [PATCH] update manpage --- man/mergerfs.1 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/man/mergerfs.1 b/man/mergerfs.1 index d9f7271c..dca503c2 100644 --- a/man/mergerfs.1 +++ b/man/mergerfs.1 @@ -860,6 +860,54 @@ install newer versions of libfuse (https://packages.debian.org/unstable/libfuse2) and fuse (https://packages.debian.org/unstable/fuse) from the repo of a newer release. +.SS mergerfs under heavy load and memory preasure leads to kernel panic +.PP +https://lkml.org/lkml/2016/9/14/527 +.IP +.nf +\f[C] +[25192.515454]\ kernel\ BUG\ at\ /build/linux\-a2WvEb/linux\-4.4.0/mm/workingset.c:346! +[25192.517521]\ invalid\ opcode:\ 0000\ [#1]\ SMP +[25192.519602]\ Modules\ linked\ in:\ netconsole\ ip6t_REJECT\ nf_reject_ipv6\ ipt_REJECT\ nf_reject_ipv4\ configfs\ binfmt_misc\ veth\ bridge\ stp\ llc\ nf_conntrack_ipv6\ nf_defrag_ipv6\ xt_conntrack\ ip6table_filter\ ip6_tables\ xt_multiport\ iptable_filter\ ipt_MASQUERADE\ nf_nat_masquerade_ipv4\ xt_comment\ xt_nat\ iptable_nat\ nf_conntrack_ipv4\ nf_defrag_ipv4\ nf_nat_ipv4\ nf_nat\ nf_conntrack\ xt_CHECKSUM\ xt_tcpudp\ iptable_mangle\ ip_tables\ x_tables\ intel_rapl\ x86_pkg_temp_thermal\ intel_powerclamp\ eeepc_wmi\ asus_wmi\ coretemp\ sparse_keymap\ kvm_intel\ ppdev\ kvm\ irqbypass\ mei_me\ 8250_fintek\ input_leds\ serio_raw\ parport_pc\ tpm_infineon\ mei\ shpchp\ mac_hid\ parport\ lpc_ich\ autofs4\ drbg\ ansi_cprng\ dm_crypt\ algif_skcipher\ af_alg\ btrfs\ raid456\ async_raid6_recov\ async_memcpy\ async_pq\ async_xor\ async_tx\ xor\ raid6_pq\ libcrc32c\ raid0\ multipath\ linear\ raid10\ raid1\ i915\ crct10dif_pclmul\ crc32_pclmul\ aesni_intel\ i2c_algo_bit\ aes_x86_64\ drm_kms_helper\ lrw\ gf128mul\ glue_helper\ ablk_helper\ syscopyarea\ cryptd\ sysfillrect\ sysimgblt\ fb_sys_fops\ drm\ ahci\ r8169\ libahci\ mii\ wmi\ fjes\ video\ [last\ unloaded:\ netconsole] +[25192.540910]\ CPU:\ 2\ PID:\ 63\ Comm:\ kswapd0\ Not\ tainted\ 4.4.0\-36\-generic\ #55\-Ubuntu +[25192.543411]\ Hardware\ name:\ System\ manufacturer\ System\ Product\ Name/P8H67\-M\ PRO,\ BIOS\ 3904\ 04/27/2013 +[25192.545840]\ task:\ ffff88040cae6040\ ti:\ ffff880407488000\ task.ti:\ ffff880407488000 +[25192.548277]\ RIP:\ 0010:[]\ \ []\ shadow_lru_isolate+0x181/0x190 +[25192.550706]\ RSP:\ 0018:ffff88040748bbe0\ \ EFLAGS:\ 00010002 +[25192.553127]\ RAX:\ 0000000000001c81\ RBX:\ ffff8802f91ee928\ RCX:\ ffff8802f91eeb38 +[25192.555544]\ RDX:\ ffff8802f91ee938\ RSI:\ ffff8802f91ee928\ RDI:\ ffff8804099ba2c0 +[25192.557914]\ RBP:\ ffff88040748bc08\ R08:\ 000000000001a7b6\ R09:\ 000000000000003f +[25192.560237]\ R10:\ 000000000001a750\ R11:\ 0000000000000000\ R12:\ ffff8804099ba2c0 +[25192.562512]\ R13:\ ffff8803157e9680\ R14:\ ffff8803157e9668\ R15:\ ffff8804099ba2c8 +[25192.564724]\ FS:\ \ 0000000000000000(0000)\ GS:ffff88041f280000(0000)\ knlGS:0000000000000000 +[25192.566990]\ CS:\ \ 0010\ DS:\ 0000\ ES:\ 0000\ CR0:\ 0000000080050033 +[25192.569201]\ CR2:\ 00007ffabb690000\ CR3:\ 0000000001e0a000\ CR4:\ 00000000000406e0 +[25192.571419]\ Stack: +[25192.573550]\ \ ffff8804099ba2c0\ ffff88039e4f86f0\ ffff8802f91ee928\ ffff8804099ba2c8 +[25192.575695]\ \ ffff88040748bd08\ ffff88040748bc58\ ffffffff811b99bf\ 0000000000000052 +[25192.577814]\ \ 0000000000000000\ ffffffff811ba380\ 000000000000008a\ 0000000000000080 +[25192.579947]\ Call\ Trace: +[25192.582022]\ \ []\ __list_lru_walk_one.isra.3+0x8f/0x130 +[25192.584137]\ \ []\ ?\ memcg_drain_all_list_lrus+0x190/0x190 +[25192.586165]\ \ []\ list_lru_walk_one+0x23/0x30 +[25192.588145]\ \ []\ scan_shadow_nodes+0x34/0x50 +[25192.590074]\ \ []\ shrink_slab.part.40+0x1ed/0x3d0 +[25192.591985]\ \ []\ shrink_zone+0x2ca/0x2e0 +[25192.593863]\ \ []\ kswapd+0x51e/0x990 +[25192.595737]\ \ []\ ?\ mem_cgroup_shrink_node_zone+0x1c0/0x1c0 +[25192.597613]\ \ []\ kthread+0xd8/0xf0 +[25192.599495]\ \ []\ ?\ kthread_create_on_node+0x1e0/0x1e0 +[25192.601335]\ \ []\ ret_from_fork+0x3f/0x70 +[25192.603193]\ \ []\ ?\ kthread_create_on_node+0x1e0/0x1e0 +\f[] +.fi +.PP +There is a bug in the kernel. +A work around appears to be turning off \f[C]splice\f[]. +Add \f[C]no_splice_write,no_splice_move,no_splice_read\f[] to +mergerfs\[aq] options. +Should be placed after \f[C]defaults\f[] if it is used since it will +turn them on. .SH FAQ .SS Why use mergerfs over mhddfs? .PP