Re: splice(-> FIFO) never wakes up inotify IN_MODIFY?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 26, 2023 at 05:53:46PM +0300, Amir Goldstein wrote:
> > So is it really true that the only way to poll a pipe is a
> > sleep()/read(O_NONBLOCK) loop?
> I don't think so, but inotify is not the way.
So what is? What do the kernel developers recommend as a way to see if a
file is written to, and that file happens to be a pipe?

FTR, I've opened the symmetric Debian#1039488:
  https://bugs.debian.org/1039488
against coreutils, since, if this is expected, and writing to a pipe
should not generate write events on that pipe, then tail -f is currently
broken on most systems.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux