On 26.05.2011 12:47, Miao Xie wrote:
> On thu, 26 May 2011 12:14:21 +0200, David Sterba wrote:
>> Hi,
>>
>> On Mon, May 23, 2011 at 02:59:06PM +0200, Arne Jansen wrote:
>>> +static struct reada_zone *reada_find_zone(struct btrfs_fs_info *fs_info,
>>> + struct btr
On thu, 26 May 2011 12:14:21 +0200, David Sterba wrote:
> Hi,
>
> On Mon, May 23, 2011 at 02:59:06PM +0200, Arne Jansen wrote:
>> +static struct reada_zone *reada_find_zone(struct btrfs_fs_info *fs_info,
>> + struct btrfs_device *dev, u64 logical,
>> +
Hi,
On Mon, May 23, 2011 at 02:59:06PM +0200, Arne Jansen wrote:
> +static struct reada_zone *reada_find_zone(struct btrfs_fs_info *fs_info,
> + struct btrfs_device *dev, u64 logical,
> + struct btrfs_multi_bio *multi)
> +
This is the implementation for the generic read ahead framework.
To trigger a readahead, btrfs_reada_add must be called. It will start
a read ahead for the given range [start, end) on tree root. The returned
handle can either be used to wait on the readahead to finish
(btrfs_reada_wait), or to sen