Re: [edk2] Flush to disk

2013-09-19 Thread Sergey Isakov
Caching data is a driver property. I think you need no to care about it. On 19.09.2013, at 2:26, David F. wrote: > Hi, > > Regarding the sync() question. Does it actually do anything if I find all > Simple File Systems, open up the volume, run a .Flush then close them? > Thinking at that po

Re: [edk2] Flush to disk

2013-09-18 Thread David F.
Hi, Regarding the sync() question. Does it actually do anything if I find all Simple File Systems, open up the volume, run a .Flush then close them? Thinking at that point any cached data, no matter who put it there whenever they put it there, should be flushed (the volume is shared?) Or would

Re: [edk2] Flush to disk

2013-09-09 Thread Andrew Fish
On Sep 7, 2013, at 10:51 PM, Sergey Isakov wrote: > Ops, corrected > > On 08.09.2013, at 8:34, Sergey Isakov wrote: > >> >> On 08.09.2013, at 4:59, David F. wrote: >> >>> Hi, >>> >>> is there a generic equivalent to something like sync() in Linux or do you >>> loop through block handles

Re: [edk2] Flush to disk

2013-09-07 Thread Sergey Isakov
Ops, corrected On 08.09.2013, at 8:34, Sergey Isakov wrote: > > On 08.09.2013, at 4:59, David F. wrote: > >> Hi, >> >> is there a generic equivalent to something like sync() in Linux or do you >> loop through block handles and issue >> disconnectcontroller()/connectcontroller() or do the e

Re: [edk2] Flush to disk

2013-09-07 Thread Sergey Isakov
On 08.09.2013, at 4:59, David F. wrote: > Hi, > > is there a generic equivalent to something like sync() in Linux or do you > loop through block handles and issue > disconnectcontroller()/connectcontroller() or do the exclusive open then > connectcontroller(). > > > Also in general, what i

[edk2] Flush to disk

2013-09-07 Thread David F.
Hi, is there a generic equivalent to something like sync() in Linux or do you loop through block handles and issue disconnectcontroller()/connectcontroller() or do the exclusive open then connectcontroller(). Also in general, what is the difference between a "ControllerHandle" and a "DriverHandl