Re: Basic doubt regarding block layer

2010-07-02 Thread ajit jain
re the data hit the disk you need to pass O_SYNC flag while opening the file. see open(2m). regards, ajit jain On Wed, Jun 30, 2010 at 8:36 PM, Michael Blizek < mic...@michaelblizek.twilightparadox.com> wrote: > Hi! > > On 09:02 Wed 30 Jun , Sudheer wrote: > ... > > Th

Re: wait_event_interruptible & spinlock

2009-04-29 Thread ajit jain
This is a classical problem with the wait queue that if no one is waiting and other thread signal on the wait queue then the signal lost. They have something call completion which actually count the signals. I dont no the history but I think they has introduced completion to get around the lost sig

Re: when all the file-system umount during shutdown

2009-01-02 Thread ajit jain
Everybody thanks a lot. Best regards, ajit On Thu, Jan 1, 2009 at 3:26 PM, Martin Møller Skarbiniks Pedersen < traxpla...@gmail.com> wrote: > 2009/1/1 ajit jain : > > Hi Everyone, > > > > I am writing a driver, which require me to insert some rc scripts just > &g

when all the file-system umount during shutdown

2008-12-31 Thread ajit jain
Hi Everyone, I am writing a driver, which require me to insert some rc scripts just before the umount for the file-system takes place. I am not able to understand which script does the unmount of the file-system. Please help. Thanks & regards, ajit