RHEL6: Deadlock on frozen ext4 filesystem, one process stuck in thaw_bdev waiting on semaphore held by flush thread doing writeback and stuck in start_this_handle

Solution Unverified - Updated -

Issue

  • vmtoolsd froze a filesystem and was not able to thaw it because it was stuck due to the filesystem's frozen journal
  • vmtoolsd hang during snapshot operation, when calling ioctl FITHAW operation
  • process is stuck in thaw_bdev waiting inside rwsem_down_write_failed
  • flush thread holding semaphore doing writeback and stuck in start_this_handle

Environment

  • Redhat Enterprise Linux 6
    • kernels prior to 2.6.32-358.el6
  • ext4 filesystem
  • VMWare guest
  • fsfreeze
  • vmtoolsd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.