Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 23:37:28 +0300
From:      pluknet <pluknet@gmail.com>
To:        Ulf Lilleengen <lulf@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r202283 - in head/sys: conf fs/ext2fs gnu/fs/ext2fs gnu/fs/reiserfs modules/ext2fs
Message-ID:  <a31046fc1001141237r1c91390ajfec7a2796c28e112@mail.gmail.com>
In-Reply-To: <201001141430.o0EEUssv057931@svn.freebsd.org>
References:  <201001141430.o0EEUssv057931@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/14 Ulf Lilleengen <lulf@freebsd.org>:
> Author: lulf
> Date: Thu Jan 14 14:30:54 2010
> New Revision: 202283
> URL: http://svn.freebsd.org/changeset/base/202283
>

Sorry for my late comment.
Please, dedup those comments below (came from p4 165599).
thanks!

> =A0/*
> =A0* Allocate a block in the file system.
> - *
> - * this takes the framework from ffs_alloc. To implement the
> - * actual allocation, it calls ext2_new_block, the ported version
> - * of the same Linux routine.
> =A0*
> - * we note that this is always called in connection with ext2_blkpref
> + * A preference may be optionally specified. If a preference is given
> + * the following hierarchy is used to allocate a block:
> + * =A0 1) allocate the requested block.
> + * =A0 2) allocate a rotationally optimal block in the same cylinder.
> + * =A0 3) allocate a block in the same cylinder group.
> + * =A0 4) quadradically rehash into other cylinder groups, until an
> + * =A0 =A0 =A0 =A0available block is located.
> + * If no block preference is given the following hierarchy is used
> + * to allocate a block:
> + * =A0 1) allocate a block in the cylinder group that contains the
> + * =A0 =A0 =A0 =A0inode for the file.
> + * =A0 2) quadradically rehash into other cylinder groups, until an
> + * =A0 =A0 =A0 =A0available block is located.
> =A0*
> - * preallocation is done as Linux does it
> + * A preference may be optionally specified. If a preference is given
> + * the following hierarchy is used to allocate a block:
> + * =A0 1) allocate the requested block.
> + * =A0 2) allocate a rotationally optimal block in the same cylinder.
> + * =A0 3) allocate a block in the same cylinder group.
> + * =A0 4) quadradically rehash into other cylinder groups, until an
> + * =A0 =A0 =A0 =A0available block is located.
> + * If no block preference is given the following hierarchy is used
> + * to allocate a block:
> + * =A0 1) allocate a block in the cylinder group that contains the
> + * =A0 =A0 =A0 =A0inode for the file.
> + * =A0 2) quadradically rehash into other cylinder groups, until an
> + * =A0 =A0 =A0 =A0available block is located.
> =A0*/

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc1001141237r1c91390ajfec7a2796c28e112>