|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH for-6.2 v3 08/12] mirror: Use job_is_cancelled() |
Date: | Wed, 1 Sep 2021 14:45:25 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
06.08.2021 12:38, Max Reitz wrote:
mirror_drained_poll() returns true whenever the job is cancelled, because "we [can] be sure that it won't issue more requests". However, this is only true for force-cancelled jobs, so use job_is_cancelled(). Signed-off-by: Max Reitz<mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |