summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTim Smith <tim.smith@citrix.com>2018-10-08 12:15:40 -0500
committerBob Peterson <rpeterso@redhat.com>2018-10-09 07:05:36 -0500
commit1eb8d7387908022951792a46fa040ad3942b3b08 (patch)
tree1ece4fba04f1c8ce3b013727dfb804ca5c022d54 /tools/perf/scripts/python/bin
parent4c62bd9cea7bcf10292f7e4c57a2bca332942697 (diff)
downloadkernel-1eb8d7387908022951792a46fa040ad3942b3b08.tar.gz
GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads
Flushing the workqueue can cause operations to happen which might call gfs2_log_reserve(), or get stuck waiting for locks taken by such operations. gfs2_log_reserve() can io_schedule(). If this happens, it will never wake because the only thing which can wake it is gfs2_logd() which was already stopped. This causes umount of a gfs2 filesystem to wedge permanently if, for example, the umount immediately follows a large delete operation. When this occured, the following stack trace was obtained from the umount command [<ffffffff81087968>] flush_workqueue+0x1c8/0x520 [<ffffffffa0666e29>] gfs2_make_fs_ro+0x69/0x160 [gfs2] [<ffffffffa0667279>] gfs2_put_super+0xa9/0x1c0 [gfs2] [<ffffffff811b7edf>] generic_shutdown_super+0x6f/0x100 [<ffffffff811b7ff7>] kill_block_super+0x27/0x70 [<ffffffffa0656a71>] gfs2_kill_sb+0x71/0x80 [gfs2] [<ffffffff811b792b>] deactivate_locked_super+0x3b/0x70 [<ffffffff811b79b9>] deactivate_super+0x59/0x60 [<ffffffff811d2998>] cleanup_mnt+0x58/0x80 [<ffffffff811d2a12>] __cleanup_mnt+0x12/0x20 [<ffffffff8108c87d>] task_work_run+0x7d/0xa0 [<ffffffff8106d7d9>] exit_to_usermode_loop+0x73/0x98 [<ffffffff81003961>] syscall_return_slowpath+0x41/0x50 [<ffffffff815a594c>] int_ret_from_sys_call+0x25/0x8f [<ffffffffffffffff>] 0xffffffffffffffff Signed-off-by: Tim Smith <tim.smith@citrix.com> Signed-off-by: Mark Syms <mark.syms@citrix.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
mit/drivers/pci/pcie?id=cc3a1378b4dd45d3e78dd4aeb10641b06a87d614'>Revert "PCI: PCIE ASPM support"Greg Kroah-Hartman 2008-02-01PCI: PCIE ASPM supportShaohua Li 2008-02-01PCI: Run ACPI _OSC method on root bridges onlyAndrew Patterson 2008-02-01PCI ACPI: AER driver should only register PCIe devices with _OSCAndrew Patterson 2008-02-01pcie port driver: correctly detect native PME featureShaohua Li 2007-11-28pci-aer: fix kernel-doc mistakesRandy Dunlap 2007-11-28PCI: pcie portdriver: initialize returned valueLinas Vepstas 2007-10-12pci: implement "pci=noaer"Randy Dunlap 2007-10-12pciehp: remove CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODEKenji Kaneshige