Re: [PATCH] fstrim: Add fstab option x-fstrim.notrim

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

 



On Mon, Jan 31, 2022 at 01:21:30AM +0100, Stanislav Brabec wrote:
> Sometimes it makes sense to skip fstrim for selected file mounts, but
> still be able to use fstrim.service.
> 
> Add a possibility to specify "x-fstrim.notrim" in fstab.

Good idea, but I've merged it with small change.

We need "X-fstrim.notrim", because x-* options are stored by libmount
in utab to be accessible for umount (etc.). This is expensive and
unnecessary for fstrim.

Thanks!

 Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux