summaryrefslogtreecommitdiff
path: root/THANKS.in
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-02-05 13:10:49 +0000
committerPádraig Brady <P@draigBrady.com>2015-02-06 10:41:06 +0000
commit235d52c3eaf2c8f6dd6eadb45ac458e71d3afc75 (patch)
treeda786a26d718ac0342c0e133a01a6b49e21def6e /THANKS.in
parent81609dc1ea66b97e6aaf373538deddc283cbd6c6 (diff)
downloadcoreutils-235d52c3eaf2c8f6dd6eadb45ac458e71d3afc75.tar.xz
tail: return inotify resources where possible
Each user has a maximum number of inotify watches, so handle the cases where we exhaust these resources. * src/tail.c (tail_forever_inotify): Ensure we inotify_rm_watch() the watch for an inode, when replacing with a new watch for a name. Return all used inotify resources when reverting to polling. Revert to polling upon first indication of inotify resource exhaustion. Revert to polling on any inotify resource exhaustion. Diagnose resource exhaustion correctly in all cases. Avoid redundant reinsertion in the hash for unchanged watches (where only attributes of the file are changed). * tests/tail-2/retry.sh: Avoid false failure when reverting to polling. * tests/tail-2/inotify-rotate.sh: Likewise. * tests/tail-2/symlink.sh: Likewise. * tests/tail-2/inotify-rotate-resources.sh: New test to check that we're calling inotify_rm_watch() for replaced files. * tests/local.mk: Reference the new test. * NEWS: Mention the bug fix. * THANKS.in: Thanks for reporting and problem identification.
Diffstat (limited to 'THANKS.in')
-rw-r--r--THANKS.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index 060c6c590..16210129e 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -659,6 +659,8 @@ Xu Zhongxing xu_zhong_xing@163.com
Yang Ren ryang@redhat.com
Yanko Kaneti yaneti@declera.com
Yann Dirson dirson@debian.org
+Youngjun Song mastojun@gmail.com
+Choi Jongu zoopi01@gmail.com
Yutaka Amanai yasai-itame1942@jade.plala.or.jp
;; Local Variables: