On 2015-11-09 11:56, Anand Jain wrote:
> These set of patches provides btrfs hot spare and auto replace support
> for you review and comments.

Hi Anand,

is there any reason to put this kind of logic in the kernel space ? I think 
that it could be more simply to create a daemon which checks the disks and when 
needed it starts a replace...

The pool policy could be more sophisticated: some filesystem could require a 
"dedicated" pool (for example because the disks are in the same enclosure); in 
other case a global pool may be more useful.

Another feature of this daemon could be to add a disk when the disk space is 
too low, or to start a balance when there is no space to allocate further 
chunk.....

Of course all these logic could be implemented in kernel space, but I think 
that we should avoid that when possible. Moreover in user space the logging is 
more easy....


Only my 2ยข...

BR
G.Baroncelli
[...]

-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to