ocfs2-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH 0/2] ocfs2: fix a deadlock case
@ 2022-01-21  7:12 Joseph Qi via Ocfs2-devel
  2022-01-21  7:12 ` [Ocfs2-devel] [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head Joseph Qi via Ocfs2-devel
  2022-01-21  7:12 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: fix a deadlock when commit trans Joseph Qi via Ocfs2-devel
  0 siblings, 2 replies; 6+ messages in thread
From: Joseph Qi via Ocfs2-devel @ 2022-01-21  7:12 UTC (permalink / raw)
  To: akpm, tytso, adilger.kernel
  Cc: linux-ext4, gautham.ananthakrishna, ocfs2-devel

This is trying to fix a deadlock case in ocfs2.
We firstly export jbd2 symbols jbd2_journal_[grab|put]_journal_head as
preparation and later use them in ocfs2 insread of
jbd_[lock|unlock]_bh_journal_head to fix the deadlock.

Joseph Qi (2):
  jbd2: export jbd2_journal_[grab|put]_journal_head
  ocfs2: fix a deadlock when commit trans

 fs/jbd2/journal.c   |  2 ++
 fs/ocfs2/suballoc.c | 25 +++++++++++--------------
 2 files changed, 13 insertions(+), 14 deletions(-)

-- 
2.19.1.6.gb485710b


_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-27 12:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21  7:12 [Ocfs2-devel] [PATCH 0/2] ocfs2: fix a deadlock case Joseph Qi via Ocfs2-devel
2022-01-21  7:12 ` [Ocfs2-devel] [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head Joseph Qi via Ocfs2-devel
2022-01-21  7:12 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: fix a deadlock when commit trans Joseph Qi via Ocfs2-devel
2022-01-23  5:31   ` Gautham Ananthakrishna via Ocfs2-devel
2022-01-24  2:37     ` Joseph Qi via Ocfs2-devel
2022-01-27 12:46       ` Gautham Ananthakrishna via Ocfs2-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).