Re: [PATCH 4/5] brd: limit maximal block size to 32M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/6/23 18:40, Matthew Wilcox wrote:
On Mon, Mar 06, 2023 at 01:01:26PM +0100, Hannes Reinecke wrote:
Use an arbitrary limit of 32M for the maximal blocksize so as not
to overflow the page cache.

The page allocator tops out at MAX_ORDER (generally 4MB), so that might
be a better limit.  Also, this has nothing to do with the page cache,
right?

Indeed. Sloppy description.
Will be fixing it up.

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux