[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting behavior for clustered IO
From: |
Richard Braun |
Subject: |
Re: Setting behavior for clustered IO |
Date: |
Fri, 6 Apr 2012 13:30:25 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Apr 02, 2012 at 08:43:41PM +0300, Maksym Planeta wrote:
> Sergio Lopez <slp@sinrega.org> writes:
> > Instead of implementing a new call, I think
> > memory_object_change_attributes should be extended to support setting
> > the cluster size for a given object.
>
> Indeed, this seems to be better.
No, as 1/ the call applies to a memory range, like vm_protect, and
2/ it's about more than a cluster size.
As a side note, I'd like to remind that it's more important to focus on
the kernel/pagers protocol than applications/POSIX support. For now, you
could even mostly ignore that readahead policy can be changed (keep it
in mind to isolate its implementation, but adding a default policy only
would still do). The vm_advise call should be added later, when actually
allowing applications to change the policy.
--
Richard Braun