Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-26 Thread Warner Losh
On Tue, Feb 26, 2019, 12:49 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Mon, 25 Feb 2019, Jason Harmening wrote: > > > > > On 2/25/19 9:46 PM, Bruce Evans wrote: > > >> > > >> block_size <= PAGE_SIZE is very uncommon for ffs, even on systems > with > > >> large > > >>

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Rodney W. Grimes
> On Mon, 25 Feb 2019, Jason Harmening wrote: > > > On 2/25/19 9:46 PM, Bruce Evans wrote: > >> > >> block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with > >> large > >> pages.?? MINBSIZE is 4096 in ffs (except in my version, it is 512).?? The > >> default is 32768 in newfs.??

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Bruce Evans
On Mon, 25 Feb 2019, Jason Harmening wrote: On 2/25/19 9:46 PM, Bruce Evans wrote: block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with large pages.?? MINBSIZE is 4096 in ffs (except in my version, it is 512).?? The default is 32768 in newfs.?? I consider this excessive

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Jason Harmening
On 2/25/19 9:46 PM, Bruce Evans wrote: block_size <= PAGE_SIZE is very uncommon for ffs, even on systems with large pages.  MINBSIZE is 4096 in ffs (except in my version, it is 512).  The default is 32768 in newfs.  I consider this excessive and only use it for file systems with many files

Re: svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Bruce Evans
On Tue, 26 Feb 2019, Jason A. Harmening wrote: ... Log: FFS: allow sendfile(2) to work with block sizes greater than the page size Implement ffs_getpages_async(), which when possible calls the asynchronous flavor of the generic pager's getpages function. When the underlying block size is

svn commit: r344562 - head/sys/ufs/ffs

2019-02-25 Thread Jason A. Harmening
Author: jah Date: Tue Feb 26 04:56:10 2019 New Revision: 344562 URL: https://svnweb.freebsd.org/changeset/base/344562 Log: FFS: allow sendfile(2) to work with block sizes greater than the page size Implement ffs_getpages_async(), which when possible calls the asynchronous flavor of the