[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGBYx2ZMfx1ved0saUrnf5=7Y10Wt5BMiw76zgqY327cb569Fg@mail.gmail.com>
Date: Mon, 27 Feb 2012 21:36:53 +0800
From: Yongqiang Yang <xiaoqiangnk@...il.com>
To: Lukas Czerner <lczerner@...hat.com>, linux-ext4@...r.kernel.org
Subject: Re: [RFC] ext4: block reservation allocation
On Mon, Feb 27, 2012 at 9:18 PM, Zheng Liu <gnehzuil.liu@...il.com> wrote:
> On Mon, Feb 27, 2012 at 01:00:07PM +0100, Lukas Czerner wrote:
> We encounter a problem in our product system. In a 2TB sata disk, the
> file can be divided into two categories. One is index file, and another
> is block file. The average size of index files is about 128k and will
> increase as time goes on. The size of block files is 70M and they are
> created by fallocate(2). Thus, index file is allocated at the end of the
> disk. When application starts up, it needs to load all of index files
> into memory. So it costs too much time. If we can allocate index files
> at the beginning of the disk, we will cut down the startup time and
> increase the service time of this application.
>
> Therefore, I think that it might be as a generic mechanism to provide
> other users that have the similar requirement.
Hi There,
Some filesystems allocate faster blocks for metadata. IMHO, we can
reserve faster blocks as possible as we can, and allocate faster
blocks for the files which have some flag set. The flag is also can
be inherited from directory.
Yongqiang.
>
> Regards,
> Zheng
>
--
Best Wishes
Yongqiang Yang
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists