arter97 / exfat-linux

EOL exFAT filesystem module for Linux kernel. Everyone should be using https://github.com/namjaejeon/linux-exfat-oot instead.
Other
262 stars 59 forks source link

fstrim failed #14

Open multiSnow opened 4 years ago

multiSnow commented 4 years ago
#>> uname -a
Linux KID 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
#>> df <mountpoint>
Filesystem     Type   Size  Used Avail Use% Mounted on
<block>        exfat  ****  ****  ****  *** <mountpoint>
#>> fstrim -v <mountpoint>
fstrim: <mountpoint>: FITRIM ioctl failed: Unknown error 524

exfat-dkms version: 2.2.0-3arter97

arter97 commented 4 years ago

Unfortunately, mainline driver still doesn't have the ability to manually trigger fstrim (FITRIM ioctl).

I'll contact the mainline developers and see if they can do something.

mat-c commented 3 years ago

it is implemented in https://github.com/namjaejeon/linux-exfat-oot/commit/8ca42aab089e5432b8eda617ea3a842d9f8e179e