Re: [PATCH v2] erofs: fix memory leak on short-lived bounced pages

2023-11-28 Thread Yue Hu
On Wed, 29 Nov 2023 02:04:31 +0800 Gao Xiang wrote: > Both MicroLZMA and DEFLATE algorithms can use short-lived pages on > demand for overlap inplace I/O decompression. > > However, those short-lived pages are actually added to > `be->compressed_pages`. Thus, it should be checked instead of >

[PATCH v2] erofs: fix memory leak on short-lived bounced pages

2023-11-28 Thread Gao Xiang
Both MicroLZMA and DEFLATE algorithms can use short-lived pages on demand for overlap inplace I/O decompression. However, those short-lived pages are actually added to `be->compressed_pages`. Thus, it should be checked instead of `pcl->compressed_bvecs`. The LZ4 algorithm doesn't work like

[PATCH] erofs: fix memory leak on short-lived bounced pages

2023-11-28 Thread Gao Xiang
Both MicroLZMA and DEFLATE algorithms can use short-lived pages on demand for overlap inplace I/O decompression. However, those short-lived pages are actually added to `be->decompressed_pages`. Thus, it should be checked instead of `pcl->compressed_bvecs`. The LZ4 algorithm doesn't work like

Re: [PATCH block/for-next v2 02/16] xen/blkback: use new helper to get inode from block_device

2023-11-28 Thread Roger Pau Monné via Linux-erofs
On Mon, Nov 27, 2023 at 02:21:02PM +0800, Yu Kuai wrote: > From: Yu Kuai > > Which is more efficiency, and also prepare to remove the field > 'bd_inode' from block_device. > > Signed-off-by: Yu Kuai Acked-by: Roger Pau Monné Thanks, Roger.