Re: [PATCH v2] mm: alloc_pages_bulk: remove assumption of populating only NULL elements

2025-03-09 Thread Yunsheng Lin
On 3/8/2025 2:43 PM, Dave Chinner wrote: ... I tested XFS using the below cmd and testcase, testing seems to be working fine, or am I missing something obvious here as I am not realy familiar with fs subsystem yet: That's hardly what I'd call a test. It barely touches the filesystem at all, a

Re: [PATCH v2] mm: alloc_pages_bulk: remove assumption of populating only NULL elements

2025-03-09 Thread Yunsheng Lin
On 3/8/2025 5:02 AM, NeilBrown wrote: ... allocated pages in the array - just like the current alloc_pages_bulk(). I guess 'the total number of allocated pages in the array ' include the pages which are already in the array before calling the above API? Yes - just what the current f

Re: [PATCH v2] mm: alloc_pages_bulk: remove assumption of populating only NULL elements

2025-03-09 Thread Gao Xiang
On 2025/3/9 21:40, Yunsheng Lin wrote: On 3/8/2025 2:43 PM, Dave Chinner wrote: ... I tested XFS using the below cmd and testcase, testing seems to be working fine, or am I missing something obvious here as I am not realy familiar with fs subsystem yet: That's hardly what I'd call a test.