* up/down semaphores in writepage()?
@ 2004-04-29 21:13 Shaya Potter
2004-04-30 11:42 ` Matthew Wilcox
0 siblings, 1 reply; 3+ messages in thread
From: Shaya Potter @ 2004-04-29 21:13 UTC (permalink / raw)
To: linux-fsdevel
Is that allowed? My guess is yes, but sort of gut without any firm
belief.
thanks,
shaya
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: up/down semaphores in writepage()?
2004-04-29 21:13 up/down semaphores in writepage()? Shaya Potter
@ 2004-04-30 11:42 ` Matthew Wilcox
2004-04-30 13:36 ` Shaya Potter
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2004-04-30 11:42 UTC (permalink / raw)
To: Shaya Potter; +Cc: linux-fsdevel
On Thu, Apr 29, 2004 at 05:13:18PM -0400, Shaya Potter wrote:
> Is that allowed? My guess is yes, but sort of gut without any firm
> belief.
see Documentation/filesystems/Locking ...
locking rules:
All except set_page_dirty may block
BKL PageLocked(page)
writepage: no yes, unlocks (see below)
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: up/down semaphores in writepage()?
2004-04-30 11:42 ` Matthew Wilcox
@ 2004-04-30 13:36 ` Shaya Potter
0 siblings, 0 replies; 3+ messages in thread
From: Shaya Potter @ 2004-04-30 13:36 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: linux-fsdevel
On Fri, 2004-04-30 at 12:42 +0100, Matthew Wilcox wrote:
> On Thu, Apr 29, 2004 at 05:13:18PM -0400, Shaya Potter wrote:
> > Is that allowed? My guess is yes, but sort of gut without any firm
> > belief.
>
> see Documentation/filesystems/Locking ...
>
> locking rules:
> All except set_page_dirty may block
>
> BKL PageLocked(page)
> writepage: no yes, unlocks (see below)
thanks! needed that!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-30 13:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-29 21:13 up/down semaphores in writepage()? Shaya Potter
2004-04-30 11:42 ` Matthew Wilcox
2004-04-30 13:36 ` Shaya Potter
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).