Re: [EXT2] Discard unused sectors

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

 



I'm not sure how to do this for ext[34]. The sb_issue_discard() function
issues its requests as a soft barrier, because for naïve callers it
needs to ensure that the discard happens _before_ any subsequent writes
to the same sectors (if they get reallocated immediately).

But ext[34] can probably do better than that, and submit the discard
requests _without_ barriers of their own. If someone with a bit more
clue does it, that is.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@xxxxxxxxx                              Intel Corporation



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

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux