From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Allison Subject: Re: setting allocation size in cifs/smb3 Date: Tue, 22 Jul 2014 17:07:14 -0700 Message-ID: <20140723000714.GA5896@samba2> References: <20140718170952.GA27001@samba2> <20140719051427.GA21226@jeremy-HP> <20140721182840.GC29893@samba2> <20140721185528.GD29893@samba2> Reply-To: Jeremy Allison Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeremy Allison , samba-technical , "linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" To: Steve French Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, Jul 21, 2014 at 02:41:58PM -0500, Steve French wrote: > To Windows 8.1 it appears to round to 4K boundaries when shrinking but > also not extend the allocation size when allocating beyond end of file > as the documentation would imply You can make Samba do the same as Windows by setting: allocation roundup size to 4k.