public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Deadlock problems
@ 2004-05-03 11:58 Jan Kara
  2004-05-03 13:11 ` Chris Mason
  2004-05-03 18:14 ` Andrew Morton
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kara @ 2004-05-03 11:58 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Eugene Crosser

  Hi Andrew!

  I've found hard to fix problem causing deadlock - call path is
generally following:
  some operation -> quota code -> read/write quota -> vfs -> needs a page ->
shrink caches -> free inodes -> free quota -> Ouch... (we need to acquire
some lock which is already held by the quota code)

   I hope I can fix the problems with quota locks but there's also a
problem that transaction can be already started when we want to free
some inodes etc. So I'd like to ask: Is there somewhere documented what
can/cannot hold a caller using GFP_FS?
  One a bit hacky solution would also be to clear GFP_FS from i_mapping
of quotafile inode. Do you think that is a reasonable solution?

								Honza

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

end of thread, other threads:[~2004-05-03 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-03 11:58 Deadlock problems Jan Kara
2004-05-03 13:11 ` Chris Mason
2004-05-03 18:14 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox