Re: [RFC PATCH v2 4/4] Allow to trace fd usage with rlimit-events

2017-12-15 Thread Krzysztof Opasiak
On 12/15/2017 12:59 AM, Andreas Dilger wrote: On Dec 14, 2017, at 3:00 PM, Krzysztof Opasiak wrote: Add rlimit-events calls to file descriptors management code to allow tracing of FD usage. This allows userspace process (monitor) to get notification when other process (subject) uses given a

Re: [RFC PATCH v2 4/4] Allow to trace fd usage with rlimit-events

2017-12-14 Thread Andreas Dilger
On Dec 14, 2017, at 3:00 PM, Krzysztof Opasiak wrote: > > Add rlimit-events calls to file descriptors management > code to allow tracing of FD usage. > > This allows userspace process (monitor) to get notification when > other process (subject) uses given amount of file descriptors. > > This ca

[RFC PATCH v2 4/4] Allow to trace fd usage with rlimit-events

2017-12-14 Thread Krzysztof Opasiak
Add rlimit-events calls to file descriptors management code to allow tracing of FD usage. This allows userspace process (monitor) to get notification when other process (subject) uses given amount of file descriptors. This can be used to for example asynchronously monitor number of open FD's in s