Re: [f2fs-dev] [PATCH V6 4/4] block: Limit zone array allocation size

2019-07-11 Thread Martin K. Petersen
Damien, > Limit the size of the struct blk_zone array used in > blk_revalidate_disk_zones() to avoid memory allocation failures > leading to disk revalidation failure. Also further reduce the > likelyhood of such failures by using kvcalloc() (that is vmalloc()) > instead of allocating contiguous

Re: [f2fs-dev] [PATCH V6 4/4] block: Limit zone array allocation size

2019-06-30 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

[f2fs-dev] [PATCH V6 4/4] block: Limit zone array allocation size

2019-06-30 Thread Damien Le Moal
Limit the size of the struct blk_zone array used in blk_revalidate_disk_zones() to avoid memory allocation failures leading to disk revalidation failure. Also further reduce the likelyhood of such failures by using kvcalloc() (that is vmalloc()) instead of allocating contiguous pages with alloc_pag