Hi. On Sat, Oct 05, 2019 at 09:09:21PM +0200, Pascal Hambourg wrote: > > > > It's safe only if your SSD firmware is sane and does not corrupt your > > > > data while processing TRIM with NCQ enabled. > > > > For instance, some noname Chinese SSD (ADATA, for instance) can corrupt > > > > your filesystem in such circumstances, Samsung 850 PRO should not. > > > > Manual fstrim invocation seems to be safe. > > > > > > Why should fstrim be safer that the discard mount option ? AFAIK they > > > use the same TRIM command. > > > > The way I heard it, to trigger the corruption one should issue TRIM > > asynchronously *and* utilize NCQ for it. fstrim is synchronous. > > Asynchronous and synchronous to what ?
To SSD's I/O queue. Reco