/srv/irclogs.ubuntu.com/2016/12/11/#ubuntu-kernel.txt

=== JanC is now known as Guest42569
=== JanC_ is now known as JanC
bingelI have doubts concerning the management of the trim on SSDs Samsung 8* series.14:38
bingelWith 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
bingelI 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
bingelI 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
bingelThanks to those who want me to come in handy explaining this behaviour.14:38
bingelExcuse me for my poor English14:38
bingel...hello to everyone14:38
bingelErrata corrige: (the "mount" command output show "discard" in the partitions options).14:40
bingelMy Ubuntu is 16.04 up to date.14:43
bingelKernel is 4.4.0-53-generic14:44
trippeh_the kernel only disables queued TRIM, it can still use the older style non-queued TRIMs14:58
trippeh_which works fine on the samsungs14:59
bingelThanks for your reply.15:08
bingelYes, 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:08
bingel.15:09
bingeldiscard is just for queued trim15:09
bingelnot for old-style (or am I wrong?)15:10
trippeh_discard should use whatever variant is available, it pre-dates queued trim15:43
bingelAre you sure? Because I think you are wrong, discard should be only for queued trim.15:57
ivan"discard 16:14
ivanEnables 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."16:14
=== nchambers is now known as god
=== god is now known as nchambers

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!