[dm-devel] [PATCH 05/13] bdi: initialize ->ra_pages and ->io_pages in bdi_init

2020-09-24 Thread Christoph Hellwig
Set up a readahead size by default, as very few users have a good reason to change it. This means code, ecryptfs, and orangefs now set up the values while they were previously missing it, while ubifs, mtd and vboxsf manually set it to 0 to avoid readahead. Signed-off-by: Christoph Hellwig

Re: [dm-devel] [PATCH 05/13] bdi: initialize ->ra_pages and ->io_pages in bdi_init

2020-09-23 Thread Christoph Hellwig
On Tue, Sep 22, 2020 at 10:49:54AM +0200, Jan Kara wrote: > On Mon 21-09-20 10:07:26, Christoph Hellwig wrote: > > Set up a readahead size by default, as very few users have a good > > reason to change it. > > > > Signed-off-by: Christoph Hellwig > > Acked-by: David Sterba [btrfs] > > Acked-by:

Re: [dm-devel] [PATCH 05/13] bdi: initialize ->ra_pages and ->io_pages in bdi_init

2020-09-22 Thread Jan Kara
On Mon 21-09-20 10:07:26, Christoph Hellwig wrote: > Set up a readahead size by default, as very few users have a good > reason to change it. > > Signed-off-by: Christoph Hellwig > Acked-by: David Sterba [btrfs] > Acked-by: Richard Weinberger [ubifs, mtd] The patch looks good to me. You can

[dm-devel] [PATCH 05/13] bdi: initialize ->ra_pages and ->io_pages in bdi_init

2020-09-21 Thread Christoph Hellwig
Set up a readahead size by default, as very few users have a good reason to change it. Signed-off-by: Christoph Hellwig Acked-by: David Sterba [btrfs] Acked-by: Richard Weinberger [ubifs, mtd] --- block/blk-core.c | 2 -- drivers/mtd/mtdcore.c | 2 ++ fs/9p/vfs_super.c | 6 --