[14:38] <bingel> I have doubts concerning the management of the trim on SSDs Samsung 8* series.
[14:38] <bingel> With regard to "queued trim", these discs were put on the blacklist (in "libata-core.c" library) for each version of firmware and as a result, the queued trim should be disabled for them.
[14:38] <bingel> I own a Samsung 840 PRO with fw "5B0Q" (not the latest), and by mounting the partitions on that disk using the "discard" option (in fstab), this option, instead of being ignored (as it should), is taken into account (the "mount" command output is in the partitions options).
[14:38] <bingel> I wonder if, despite this, the queued trim is in any case disabled or if there is some sort of bug or, most likely something that I did not understand.
[14:38] <bingel> Thanks to those who want me to come in handy explaining this behaviour.
[14:38] <bingel> Excuse me for my poor English
[14:38] <bingel> ...hello to everyone
[14:40] <bingel> Errata corrige: (the "mount" command output show "discard" in the partitions options).
[14:43] <bingel> My Ubuntu is 16.04 up to date.
[14:44] <bingel> Kernel is 4.4.0-53-generic
[14:58] <trippeh_> the kernel only disables queued TRIM, it can still use the older style non-queued TRIMs
[14:59] <trippeh_> which works fine on the samsungs
[15:08] <bingel> Thanks for your reply.
[15:08] <bingel> Yes, I know but the option "discard" should enable "queued trim" therefore if I put "discard" in "fstab" and remount partitions then i check output of "mount" command I should not see "discard" because this options should be ignored ...or am I wrong?
[15:09] <bingel> .
[15:09] <bingel> discard is just for queued trim
[15:10] <bingel> not for old-style (or am I wrong?)
[15:43] <trippeh_> discard should use whatever variant is available, it pre-dates queued trim
[15:57] <bingel> Are you sure? Because I think you are wrong, discard should be only for queued trim.
[16:14] <ivan> "discard 
[16:14] <ivan> Enables discard/TRIM on freed blocks. This can decrease performance on devices that do not support queued TRIM command, like SATA prior to revision 3.1. Alternatively, you can run fstrim command periodically."