Re: [PATCH v2 3/3] fs/xfs: Add rtfallocmin mount option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sep 3, 2017, at 1:50 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> 
> On Sat, Sep 02, 2017 at 03:41:45PM -0700, Richard Wareing wrote:
>> - Gates real-time block device fallocation's to rtfallocmin bytes
>> - Use case: Allows developers to send files to the SSD with ease simply
>>  by fallocating them, if they are below rtfallocmin XFS will allocate the
>>  blocks from the non-RT device (e.g. an SSD)
>> - Useful to automagically store small files on the SSD vs. RT device
>>  (HDD) for tiered XFS setups without having to rely on XFS specific
>>  ioctl calls.  Userland tools such as rsync can also use fallocation
>>  behavior to migrate files between SSD and RT (HDD) device without
>>  modifiction (e.g. w/ --preallocate flag).
> 
> I'd be much happier if this was done inside the allocator, and in
> affect for any initial allocation, not just fallocate, as that keeps
> the layering and logic much cleaner.

See my comments on your reply to my cover letter.  Would love to hear your thoughts on my reply.

> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux