[PATCH] FS_SECTOR_SIZE_INFORMATION and FSCTL_FILE_LEVEL_TRIM

Christoph Hellwig hch at infradead.org
Wed Mar 18 13:01:13 MDT 2015


On Mon, Mar 16, 2015 at 04:19:23PM +0100, David Disseldorp wrote:
> Yes, we're currently returning hard-coded sector size information via
> many of the filesystem query-info levels. This should be determined at
> runtime,

Maybe start with storing it in a variable inside of samba?

> 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.


More information about the samba-technical mailing list