Re: [PATCH v4 2/2] fcntl: introduce F_SET_DESCRIPTION

2020-08-13 Thread Pascal Bouchareine
On Thu, Aug 13, 2020 at 10:28 PM Christoph Hellwig wrote: > > One intended usage is to allow processes to self-document sockets > > for netstat and friends to report > > NAK. There is no way we're going to bloat a criticial structure like > struct file for some vanity information like this. The

Re: [PATCH v4 2/2] fcntl: introduce F_SET_DESCRIPTION

2020-08-13 Thread Christoph Hellwig
On Thu, Aug 13, 2020 at 08:54:53PM -0700, Pascal Bouchareine wrote: > This command attaches a description to a file descriptor for > troubleshooting purposes. The free string is displayed in the > process fdinfo file for that fd /proc/pid/fdinfo/fd. > > One intended usage is to allow processes to