[RTEMS Project] #4956: Deadlock caused by locking inversion in JFFS2

RTEMS trac trac at rtems.org
Tue Sep 26 13:38:00 UTC 2023


#4956: Deadlock caused by locking inversion in JFFS2
--------------------------+---------------------
 Reporter:  Kinsey Moore  |       Owner:  (none)
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:  6.1
Component:  admin         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+---------------------

Comment (by Kinsey Moore <kinsey.moore@…>):

 In [changeset:"99c637fbd973a3d2f6e5adf38aac8f3f588cbb7e/rtems"
 99c637f/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="99c637fbd973a3d2f6e5adf38aac8f3f588cbb7e"
 cpukit/jffs2: Avoid use of off-chain semantics

 This reworks the JFFS2 delayed work queue to avoid use of
 on-chain/off-chain semantics since they vary in behavior under
 RTEMS_DEBUG and are not guaranteed to be safe to use in SMP systems.
 This adds all delayed work structs to the chain on FS init and does not
 remove them until umount.

 Updates #4956
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4956#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list