[PATCH] Updated iostats docs

2019-10-16 Thread Albert Vaca Cintora
Previous docs mentioned 11 unsigned long fields, when the reality is that we have 15 fields with a mix of unsigned long and unsigned int. Signed-off-by: Albert Vaca Cintora --- Documentation/admin-guide/iostats.rst | 47 ++- 1 file changed, 24 insertions(+), 23 deletions

Re: [PATCH v3 2/3] kernel/ucounts: expose count of inotify watches in use

2019-10-16 Thread Albert Vaca Cintora
On Sat, Jun 1, 2019 at 8:20 PM Albert Vaca Cintora wrote: > > On Sat, Jun 1, 2019 at 2:00 AM Andrew Morton > wrote: > > > > On Fri, 31 May 2019 21:50:15 +0200 Albert Vaca Cintora > > wrote: > > > > > Adds a readonly 'current_inotify_watches

Re: [PATCH v3 2/3] kernel/ucounts: expose count of inotify watches in use

2019-06-01 Thread Albert Vaca Cintora
On Sat, Jun 1, 2019 at 2:00 AM Andrew Morton wrote: > > On Fri, 31 May 2019 21:50:15 +0200 Albert Vaca Cintora > wrote: > > > Adds a readonly 'current_inotify_watches' entry to the user sysctl table. > > The handler for this entry is a custom function that

[PATCH v3 2/3] kernel/ucounts: expose count of inotify watches in use

2019-05-31 Thread Albert Vaca Cintora
re a finite resource, in a similar way to available file descriptors. The motivation for this patch is to be able to set up monitoring and alerting before an application starts failing because it runs out of inotify watches. Signed-off-by: Albert Vaca Cintora Acked-by: Jan Kara Reviewed-by: Ni

[PATCH v3 3/3] Documentation for /proc/sys/user/*_inotify_*

2019-05-31 Thread Albert Vaca Cintora
Added docs for the existing and new inotify-related files Signed-off-by: Albert Vaca Cintora --- Documentation/sysctl/user.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/sysctl/user.txt b/Documentation/sysctl/user.txt index a5882865836e..99c288d39cf6

[PATCH v3 1/3] Move *_ucounts functions above

2019-05-31 Thread Albert Vaca Cintora
So we can use them from proc_handler functions in user_table Signed-off-by: Albert Vaca Cintora --- kernel/ucount.c | 122 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/kernel/ucount.c b/kernel/ucount.c index f48d1b6376a4