Re: [PATCH] block: restore the old set_task_ioprio() behaviour wrt PF_EXITING

Jens Axboe
2022-03-28T12:36:27Z

On Mon, 28 Mar 2022 10:59:28 +0200, Jiri Slaby wrote:
> PF_EXITING tasks were silently ignored before the below commits.
> Continue doing so. Otherwise python-psutil tests fail:
> ERROR: psutil.tests.test_process.TestProcess.test_zombie_process
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/abuild/rpmbuild/BUILD/psutil-5.9.0/build/lib.linux-x86_64-3.9/psutil/_pslinux.py", line 1661, in wrapper
> return fun(self, *args, **kwargs)
> File "/home/abuild/rpmbuild/BUILD/psutil-5.9.0/build/lib.linux-x86_64-3.9/psutil/_pslinux.py", line 2133, in ionice_set
> return cext.proc_ioprio_set(self.pid, ioclass, value)
> ProcessLookupError: [Errno 3] No such process
>
> [...]

Applied, thanks!

[1/1] block: restore the old set_task_ioprio() behaviour wrt PF_EXITING
commit: 15583a563cd5a7358e975599b7de7caacd9e9ce9

Best regards,
--
Jens Axboe