[PATCH] nvme-multipath: use vmalloc for ANA log buffer

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Mar 9 09:05:59 PST 2022


On 3/9/22 08:54, Daniel Wagner wrote:
> On Wed, Mar 09, 2022 at 04:09:08PM +0000, Chaitanya Kulkarni wrote:
>> We need a blktests for this as earlier code was never exercised
>> to its limits, anyways:-
> 
> To test the old code path, you would need to make sure that free memory
> is fragmented to the point where an order n allocation always fails (n
> is depending on the ANA log buffer). With the vmalloc in place, I doubt
> you can really test this allocation problem. Unless you are interested
> to figure out if it's possible to DOS a machine from the target side out
> ;)
> 

true, seems a bit stale now..

-ck




More information about the Linux-nvme mailing list