linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix deadlock with suspend & quotas
@ 2012-02-07 22:37 Jan Kara
  2012-02-07 22:37 ` [PATCH 1/2] vfs: Provide function to get superblock and wait for it to thaw Jan Kara
  2012-02-07 22:37 ` [PATCH 2/2] quota: Fix deadlock with suspend and quotas Jan Kara
  0 siblings, 2 replies; 14+ messages in thread
From: Jan Kara @ 2012-02-07 22:37 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, LKML, mpatocka, sandeen


  Hello Al,

  This is my attempt to fix deadlock in quota code when filesystem is
suspended and someone tries to modify quota e.g. via Q_SETQUOTA command. I
added a VFS function to get a superblock reference and return only after
the filesystem is thawed. Is that what you had in mind? Can you merge
these patches? Thanks.

								Honza

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/2 v2] Fix deadlock with suspend & quotas
@ 2012-02-10 10:02 Jan Kara
  2012-02-10 10:03 ` [PATCH 1/2] vfs: Provide function to get superblock and wait for it to thaw Jan Kara
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kara @ 2012-02-10 10:02 UTC (permalink / raw)
  To: Al Viro; +Cc: LKML, linux-fsdevel, Dave Chinner, mpatocka, Eric Sandeen


  Hello Al,

  This is my attempt to fix deadlock in quota code when filesystem is
suspended and someone tries to modify quota e.g. via Q_SETQUOTA command. I
added a VFS function to get a superblock reference and return only after
the filesystem is thawed.

Changes since v1:
* wait for frozen fs really only when requested
* updated some comments & names

								Honza

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

end of thread, other threads:[~2012-02-13 14:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 22:37 [PATCH 0/2] Fix deadlock with suspend & quotas Jan Kara
2012-02-07 22:37 ` [PATCH 1/2] vfs: Provide function to get superblock and wait for it to thaw Jan Kara
2012-02-08 23:20   ` Dave Chinner
2012-02-08 23:27     ` Jan Kara
2012-02-08 23:47       ` Jan Kara
2012-02-09 16:37         ` Eric Sandeen
2012-02-09 23:14           ` Mikulas Patocka
2012-02-10  9:48           ` Jan Kara
2012-02-10 23:16             ` Dave Chinner
2012-02-07 22:37 ` [PATCH 2/2] quota: Fix deadlock with suspend and quotas Jan Kara
2012-02-09 16:46   ` Eric Sandeen
  -- strict thread matches above, loose matches on Subject: below --
2012-02-10 10:02 [PATCH 0/2 v2] Fix deadlock with suspend & quotas Jan Kara
2012-02-10 10:03 ` [PATCH 1/2] vfs: Provide function to get superblock and wait for it to thaw Jan Kara
2012-02-12 21:13   ` Al Viro
2012-02-13 14:24     ` Jan Kara

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).