Skip to contentSkip to conversation

up/down semaphores in writepage()?

DISCUSSION Shaya Potter 2 participants 3 messages Apr 29, 2004 – Apr 30, 2004 VFS

lore
Share & tools
lore
#0 lore raw

Is that allowed? My guess is yes, but sort of gut without any firm belief.

thanks,

shaya

#1 lore raw
Quoted 2 lines · Shaya Potter

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)

Signature · 6 lines
"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
#2 lore raw
Quoted 11 lines · Matthew Wilcox
Quoted 2 lines · Shaya Potter

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!