[PATCH] FS_SECTOR_SIZE_INFORMATION and FSCTL_FILE_LEVEL_TRIM

Jeremy Allison jra at samba.org
Tue Mar 17 17:09:12 MDT 2015


On Fri, Mar 13, 2015 at 04:02:53PM +0100, David Disseldorp wrote:
> This patch-set adds client and server support for the query-info 
> FS_SECTOR_SIZE_INFORMATION level. This info level provides sector
> alignment information for an underlying share volume, as well as
> NO_SEEK_PENALTY and TRIM_ENABLED flags useful for SSD /
> thin-provisioned storage detection.
> 
> Additional changes are included to provide basic FSCTL_FILE_LEVEL_TRIM
> testing. The test is dependent on the TRIM_ENABLED query-info flag,
> otherwise it's skipped.
> 
> Feedback appreciated.

Seriously nice and carefully coded work ! Thanks David.

Pushed (once my previous autobuild gets through :-).


More information about the samba-technical mailing list