* Simulated Ordered Mode
@ 2005-07-31 5:39 Al Boldi
2005-07-31 14:02 ` Martin Jambor
0 siblings, 1 reply; 4+ messages in thread
From: Al Boldi @ 2005-07-31 5:39 UTC (permalink / raw)
To: linux-fsdevel
Filesystems are generally updated in a serial fashion:
1. Update MetaData
2. Update FileData
3. Sync... (optional)
Is it possible to instruct the FS to delay metadata update until after a
filedata sync?
Like:
1. Buffer MetaData
2. Update FileData
3. Sync
4. Update MetaData
5. Sync... (optional)
Ext3 offers this as an ordered mode, but could this be done on a lower level
as in bdflush?
--
Al
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Simulated Ordered Mode
2005-07-31 5:39 Simulated Ordered Mode Al Boldi
@ 2005-07-31 14:02 ` Martin Jambor
2005-07-31 16:06 ` Al Boldi
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jambor @ 2005-07-31 14:02 UTC (permalink / raw)
To: Al Boldi; +Cc: linux-fsdevel
On 7/31/05, Al Boldi <a1426z@gawab.com> wrote:
> Is it possible to instruct the FS to delay metadata update until after a
> filedata sync?
If you delayed any update until after a sync it wouldn't be a sync
anymore, would it?
HTH
Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Simulated Ordered Mode
2005-07-31 14:02 ` Martin Jambor
@ 2005-07-31 16:06 ` Al Boldi
2005-07-31 19:27 ` Martin Jambor
0 siblings, 1 reply; 4+ messages in thread
From: Al Boldi @ 2005-07-31 16:06 UTC (permalink / raw)
To: 'Martin Jambor'; +Cc: linux-fsdevel
Martin Jambor wrote: {
On 7/31/05, Al Boldi <a1426z@gawab.com> wrote:
> Is it possible to instruct the FS to delay metadata update until after
> a filedata sync?
If you delayed any update until after a sync it wouldn't be a sync anymore,
would it?
}
True, but what about an implied MetaData sync _after_ a FileData sync?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Simulated Ordered Mode
2005-07-31 16:06 ` Al Boldi
@ 2005-07-31 19:27 ` Martin Jambor
0 siblings, 0 replies; 4+ messages in thread
From: Martin Jambor @ 2005-07-31 19:27 UTC (permalink / raw)
To: Al Boldi; +Cc: linux-fsdevel
On 7/31/05, Al Boldi <a1426z@gawab.com> wrote:
> Martin Jambor wrote: {
> On 7/31/05, Al Boldi <a1426z@gawab.com> wrote:
> > Is it possible to instruct the FS to delay metadata update until after
> > a filedata sync?
>
> If you delayed any update until after a sync it wouldn't be a sync anymore,
> would it?
> }
>
> True, but what about an implied MetaData sync _after_ a FileData sync?
What do you mean by "sync?" If you mean an operation that brings an on
disk image of a filesystem into a consistent state then you cannot
delay any writeout until after it.
If you mean an ordinary update of the file (and directory) contents
then such capability must be coded at the filesystem level because
only the specific filesystem knows what are metadata and what are data
and what files different metadata belong to.
HTH
Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-31 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-31 5:39 Simulated Ordered Mode Al Boldi
2005-07-31 14:02 ` Martin Jambor
2005-07-31 16:06 ` Al Boldi
2005-07-31 19:27 ` Martin Jambor
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).