Re: Good SAS adapters for 6 Gb/s SATA SSD's (with TRIM)?

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

 



On Fri, 12 Aug 2011, Prof. Dr. Klaus Kusche wrote:

> On 2011-08-12 11:01, Ric Wheeler wrote:
> > Lukas has a more generic bulk tool that should do the job and has the
> > advantage that it does not have to fill the file system first (it can
> > lock regions and do its work).
> 
> Any pointers to that?
> 
> Thanks!
> 
> > Note that discard is not just for physical devices like SCSI or ATA, it
> > is also useful for "software" stacks like various device mapper targets,
> > virtual block devices, etc so we should be keeping the abstraction at a
> > high level for our tooling.
> 
> I agree, but wiper.sh has been the first such tool and is widespread
> and well-known. I'm not aware of alternatives using the generic fstrim
> command (which is still missing on some major distributions)
> or FITRIM ioctl.
> 

wiper.sh is just a hack to do rally nasty thing to the filesystam
(allocating all free space), so I have never tried that. But on newer
kernel with FITRIM ioctl and filesystem which implements it, you can
easily use fstrim tool. It is part of the util-linux-ng since
v2.18-165-gd9e2d0d.

Every discard implementation I know of in kernel uses the same
infrastructure so there should be no difference between online (-o
discard) or batched discard (FITRIM) or even between specific file
system implementations. There was some efforts in introducing vectored
discard command support which can batch more extents into the single
command, but IMO it is not anywhere near ready.

Other than that I do no know of any other alternatives.

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux