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

Daniel Wagner dwagner at suse.de
Wed Mar 9 08:54:25 PST 2022


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
;)



More information about the Linux-nvme mailing list