[LTP] [PATCH v2] Fix wqueue09 according with 5.17 kernel updates

Petr Vorel pvorel@suse.cz
Thu Mar 31 08:21:18 CEST 2022


Hi all,

> Hi Andrea,

> On 2022-03-30 11:08, Andrea Cervesato wrote:

> > This patch fixes also the issue of loosing events on big number of
> > iterations
> > such as -i 1000.

> Unfortunately when testing on machine with older kernel (older Tumbleweed
> with
> 5.9.1-1-default) it still blocks and then timeout:

> wqueue09.c:52: TPASS: Meta loss notification received
> common.h:134: TINFO: Reading watch queue events

FYI on long enough -i (513 in my case)
buf_len = SAFE_READ(0, fd, buffer, sizeof(buffer));

This is regardless kernel version (tested on Tumbleweed 5.17.0-3.g6cba016-default
and SLES 5.14.21) => easily reproducible.

NOTE: keyctl() return value is always 0.

Also not sure why we are not revoking key any more (removed in this patchset).

Kind regards,
Petr

> NOTE: I haven't tested it on 5.17 yet.

> Kind regards,
> Petr


More information about the ltp mailing list