[PATCH] FS_SECTOR_SIZE_INFORMATION and FSCTL_FILE_LEVEL_TRIM

David Disseldorp ddiss at suse.de
Wed Mar 18 17:04:24 MDT 2015


On Wed, 18 Mar 2015 12:01:13 -0700, Christoph Hellwig wrote:

> > in addition to the SSINFO_FLAGS_NO_SEEK_PENALTY and
> > SSINFO_FLAGS_TRIM_ENABLED flags.
> > 
> > I expect we can set the latter based on FITRIM availability at build
> > time. NO_SEEK_PENALTY is going to be tough without reaching into
> > /sys/block.
> 
> We can add ioctls to expose this if it helps Samba.

Sounds good, they'd certainly be useful for FS_SECTOR_SIZE_INFORMATION
getinfo request handling.


More information about the samba-technical mailing list