OS-3294 add support for inotify