Re: [Xen-devel] [PATCH] xen/blkback: Avoid unmapping unmapped grant pages

2019-12-03 Thread Jens Axboe
On 11/26/19 8:36 AM, SeongJae Park wrote: From: SeongJae Park For each I/O request, blkback first maps the foreign pages for the request to its local pages. If an allocation of a local page for the mapping fails, it should unmap every mapping already made for the request. However, blkback's

Re: [Xen-devel] [PATCH] xen/blkback: Avoid unmapping unmapped grant pages

2019-12-03 Thread sjpark
On 27.11.19 10:13, Roger Pau Monné wrote: > On Tue, Nov 26, 2019 at 04:36:05PM +0100, SeongJae Park wrote: >> From: SeongJae Park >> >> For each I/O request, blkback first maps the foreign pages for the >> request to its local pages. If an allocation of a local page for the >> mapping fails, it

Re: [Xen-devel] [PATCH] xen/blkback: Avoid unmapping unmapped grant pages

2019-11-27 Thread Roger Pau Monné
On Tue, Nov 26, 2019 at 04:36:05PM +0100, SeongJae Park wrote: > From: SeongJae Park > > For each I/O request, blkback first maps the foreign pages for the > request to its local pages. If an allocation of a local page for the > mapping fails, it should unmap every mapping already made for the

[Xen-devel] [PATCH] xen/blkback: Avoid unmapping unmapped grant pages

2019-11-26 Thread SeongJae Park
From: SeongJae Park For each I/O request, blkback first maps the foreign pages for the request to its local pages. If an allocation of a local page for the mapping fails, it should unmap every mapping already made for the request. However, blkback's handling mechanism for the allocation