• Kirill Tkhai's avatar
    inotify: Do not DDOS by debug message on restore watch descriptor · 23dad982
    Kirill Tkhai authored
    Imagine, we have to restore inotify with watch descriptor 0x34d71d6.
    Then we have:
    
    1.235021     5578: fsnotify:           Watch got       0x1 but 0x34d71d6 expected
    ...
    ...
    527.378042   5578: fsnotify:           Watch got 0x34d71d3 but 0x34d71d6 expected
    527.378042   5578: fsnotify:           Watch got 0x34d71d4 but 0x34d71d6 expected
    527.378042   5578: fsnotify:           Watch got 0x34d71d5 but 0x34d71d6 expected
    
    Stop doing this and stop generating GBs of debug messages.
    We already have print message before restore_one_inotify().
    Let's add just one more after it.
    Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    23dad982
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...