public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@matchmail.com>
To: Steve Lord <lord@sgi.com>
Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [patch] delayed disk block allocation
Date: Thu, 7 Mar 2002 09:30:21 -0800	[thread overview]
Message-ID: <20020307173021.GB28141@matchmail.com> (raw)
In-Reply-To: <20020307120609.85742.qmail@web11804.mail.yahoo.com> <1015512444.1293.14.camel@jen.americas.sgi.com>
In-Reply-To: <1015512444.1293.14.camel@jen.americas.sgi.com>

On Thu, Mar 07, 2002 at 08:47:24AM -0600, Steve Lord wrote:
> On Thu, 2002-03-07 at 06:06, Etienne Lorrain wrote:
> > > With "allocate on flush", (aka delayed allocation), file data is
> > > assigned a disk mapping when the data is being written out, rather than
> > > at write(2) time.  This has the following advantages:
> > 
> >   I do agree that this is a better solution than current one,
> >  but (even if I did not had time to test the patch), I have
> >  a question: How about bootloaders?
> > 
> >  IHMO all current bootloaders need to write to disk a "chain" of sector
> >  to load for their own initialisation, i.e. loading the remainning
> >  part of code stored on a file in one filesystem from the 512 bytes
> >  bootcode. This "chain" of sector can only be known once the file
> >  has been allocated to disk - and it has to be written on the same file,
> >  at its allocated space.
> > 
> >   So can you upgrade LILO or GRUB with your patch installed?
> >   It is not a so big problem (the solution being to install the
> >  bootloader on an unmounted filesystem with tools like e2fsprogs),
> >  but it seems incompatible with the current executables.
> 
> The interface used by lilo to read the kernel location needs to flush
> data out to disk before returning results. It's not too hard to do.
> 

Also, GRUB shouldn't have this problem since it reads the filesystems
directly on boot.

  reply	other threads:[~2002-03-07 17:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07 12:06 [patch] delayed disk block allocation Etienne Lorrain
2002-03-07 14:47 ` Steve Lord
2002-03-07 17:30   ` Mike Fedyk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-04 14:54 rwhron
2002-03-04 15:10 ` Jeff Garzik
2002-03-01  8:26 Andrew Morton
2002-03-04  2:08 ` Daniel Phillips
2002-03-04  3:10   ` Jeff Garzik
2002-03-04  7:27     ` Andrew Morton
2002-03-04  5:04   ` Mike Fedyk
2002-03-04  5:31     ` Andreas Dilger
2002-03-04  5:40       ` Mike Fedyk
2002-03-04  6:14         ` Andreas Dilger
2002-03-04  5:41       ` Jeff Garzik
2002-03-04  6:18         ` Andreas Dilger
2002-03-04 15:02           ` Hans Reiser
2002-03-06 12:59             ` Pavel Machek
2002-03-04  7:53       ` Andrew Morton
2002-03-04  8:06         ` Daniel Phillips
2002-03-04  8:34           ` Andrew Morton
2002-03-04  7:20   ` Andrew Morton
2002-03-04  9:23     ` Daniel Phillips

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020307173021.GB28141@matchmail.com \
    --to=mfedyk@matchmail.com \
    --cc=etienne_lorrain@yahoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lord@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox