strict allocate

Björn JACKE bj at SerNet.DE
Tue Dec 1 09:56:59 MST 2009


Hi,

bug 6942 beamed by attention to this article:

http://software.intel.com/en-us/articles/windows-client-cifs-behavior-can-slow-linux-nas-performance/

It might be a good idea to change the default of strict allocate to "yes". This
makes out-of-quota situation less error prone and scenarios like in that article
will improve, too.

Has anyone strong feelings against that change of defaults?

In addition to that: When available, we could do allocation with
posix_fallocate(), which has the additional benefit that with recent Linux
kernels and advanced filesystems, allocation is being done at kernel/filesystem
layer via fallocate with quasi zero overhead.

Cheers
Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list