I/O stall due to deadlock within realtime kernel PI code

Solution Unverified - Updated -

Issue

  • I/O deadlock when rt kernel skips flushing of plugged requests when task blocks on a lock
 #0 [ff2c698200a33ac0] __schedule at ffffffffb588ab8b
 #1 [ff2c698200a33b40] schedule at ffffffffb588af66
 #2 [ff2c698200a33b58] io_schedule at ffffffffb588b047
 #3 [ff2c698200a33b68] rq_qos_wait at ffffffffb52d067b
 #4 [ff2c698200a33bf0] wbt_wait at ffffffffb52ef09c
 #5 [ff2c698200a33c30] __rq_qos_throttle at ffffffffb52d0320
 #6 [ff2c698200a33c48] blk_mq_submit_bio at ffffffffb52c2d87
 #7 [ff2c698200a33c98] __submit_bio_noacct at ffffffffb52b53e1
 #8 [ff2c698200a33ce8] xlog_cil_push_work at ffffffffc073d05d [xfs]
 #9 [ff2c698200a33e88] process_one_work at ffffffffb4f11bd5
#10 [ff2c698200a33ed0] worker_thread at ffffffffb4f11fea
#11 [ff2c698200a33f10] kthread at ffffffffb4f18fe3
#12 [ff2c698200a33f50] ret_from_fork at ffffffffb4e035af

 #0 [ff2c6982009fb588] __schedule at ffffffffb588ab8b
 #1 [ff2c6982009fb608] schedule at ffffffffb588af66
 #2 [ff2c6982009fb620] rt_mutex_slowlock_block.constprop.0 at ffffffffb588c90f
 #3 [ff2c6982009fb658] __rt_mutex_slowlock.constprop.0 at ffffffffb588dcdb
 #4 [ff2c6982009fb690] __rwbase_read_lock at ffffffffb588ddec
 #5 [ff2c6982009fb710] xlog_cil_commit at ffffffffc073d880 [xfs]
 #6 [ff2c6982009fb748] __xfs_trans_commit at ffffffffc0735b40 [xfs]
 #7 [ff2c6982009fb788] xfs_bmapi_convert_delalloc at ffffffffc06d0efc [xfs]
 #8 [ff2c6982009fb898] xfs_map_blocks at ffffffffc0708753 [xfs]
 #9 [ff2c6982009fb940] iomap_writepage_map at ffffffffb51e3dab
#10 [ff2c6982009fb9b0] write_cache_pages at ffffffffb50b9a74
#11 [ff2c6982009fbaa8] iomap_writepages at ffffffffb51e2a5c
#12 [ff2c6982009fbab8] xfs_vm_writepages at ffffffffc07083da [xfs]
#13 [ff2c6982009fbb50] do_writepages at ffffffffb50bbdc8
#14 [ff2c6982009fbbe8] __writeback_single_inode at ffffffffb51a348d
#15 [ff2c6982009fbc28] writeback_sb_inodes at ffffffffb51a3b5c
#16 [ff2c6982009fbcf8] wb_writeback at ffffffffb51a3fcb
#17 [ff2c6982009fbd70] wb_do_writeback at ffffffffb51a4305
#18 [ff2c6982009fbdf0] wb_workfn at ffffffffb51a6108
#19 [ff2c6982009fbe88] process_one_work at ffffffffb4f11bd5
#20 [ff2c6982009fbed0] worker_thread at ffffffffb4f11e60
#21 [ff2c6982009fbf10] kthread at ffffffffb4f18fe3
#22 [ff2c6982009fbf50] ret_from_fork at ffffffffb4e035af

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content