On Mon, Apr 26, 2010 at 10:42 AM, Martin K. Petersen
<martin.petersen@oracle.com> wrote:
Is this an agreed summary as relates to ext4:
1) Current "-o discard" causes real-time calls to discard. Although
not optimized for current generation hardware, both block-layer
optimizations and new hardware are coming, so it needs to be kept.
2) Kernel based discard scrubbing - Doesn't currently exist in 2.6.34,
all agree that for the LVM, mdraid, btrfs cases it is needed and there
is no linux tool (kernel or userspace) at present. The Lukas proposed
patch is userspace invoked so a mount option is not needed.
3) Userspace discard is available today and works well with ext4 on a
single JBOD SSD which will be the typical laptop use as one example.
Mark, or anyone, do you think it would be a bad idea for me to push
for Opensuse 11.3 (2.6.34 based) to use wiper.sh as a standard ext4
discard tool? hdparm and wiper.sh are already in the distro, it just
needs a cron entry and maybe some basic management infrastructure.
They're at feature freeze for 11.3, so I don't know if I can get it in
or not.
If and when the suse team want to move to the kernel based scrubber,
they can. ie. a year from now when the next release after 11.3 comes
out.
Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html