Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs
From: Andrey Panin
Date: Fri Aug 13 2010 - 09:14:39 EST
On 224, 08 12, 2010 at 05:29:37PM -0500, bchociej@xxxxxxxxx wrote:
> From: Ben Chociej <bchociej@xxxxxxxxx>
>
> Modified mkfs.btrfs to add hot data relocation option (-h) which
> preallocates BTRFS_BLOCK_GROUP_DATA_SSD and
> BTRFS_BLOCK_GROUP_METADATA_SSD at mkfs time for future use by hot data
> relocation code. Also added a userspace function to detect whether a
> block device is an SSD by reading the sysfs block queue rotational flag.
IMHO this policy is too inflexible. What if I have large array of slow SATA
disks and some fast SAS ones ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/