]> go.fuhry.dev Git - fsnotify.git/commit
Properly handle inotify's IN_Q_OVERFLOW event (#149)
authorNickolai Zeldovich <nickolai@csail.mit.edu>
Wed, 26 Oct 2016 20:31:22 +0000 (16:31 -0400)
committerNathan Youngman <git@nathany.com>
Wed, 26 Oct 2016 20:31:22 +0000 (14:31 -0600)
commitfd9ec7deca8bf46ecd2a795baaacf2b3a9be1197
treeae34945d5f4a0900366d0f1404197871149a4b2a
parentbd2828f9f176e52d7222e565abb2d338d3f3c103
Properly handle inotify's IN_Q_OVERFLOW event (#149)

* Properly handle inotify's IN_Q_OVERFLOW event

Upon receiving an event with IN_Q_OVERFLOW set in the mask, generate an
error on the Errors chan, so that the application can take appropriate
action.

* Use a well-defined error (ErrEventOverflow) for inotify overflow

* Add a test for inotify queue overflow
fsnotify.go
inotify.go
inotify_test.go