Re: What's the "prepare_discard_fn" supposed to do?

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

 



On Fri, Oct 03, 2008 at 09:48:39AM +0300, Artem Bityutskiy wrote:
> Sorry for my ignorance, but why "discard" is used in hard drive? What
> may it improve? I've always been thinking it is only useful for SSD and
> other FTL-enabled beasts.

If you look at the work being done in T10, it's also envisaged as being
useful for large storage arrays where you do "thin provisioning" --
eg pretend that twenty clients each have a terabyte of disc and only
buy five terabytes of disc for the array.  When they start to use four
terabytes, you'll buy some more discs for it, and nobody will ever know.

In order to make this work well, you have to know when files really have
been deleted.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux