Description of problem: When monitoring a directory, no CHANGES_DONE_HINT is received once a changed file is closed. Version-Release number of selected component (if applicable): glib2-2.29.90-1.fc16.ppc64 glibc-2.14.90-8.ppc64 kernel-3.1.0-0.rc6.git0.3.fc16.kh.ppc64 How reproducible: always Steps to Reproduce: 1. mkdir test 2. gvfs-monitor-dir test 3. echo Hello! > test/file Actual results: Directory Monitor Event: Child = /tmp/test/test Event = CHANGED Directory Monitor Event: Child = /tmp/test/test Event = CHANGED Directory Monitor Event: Child = /tmp/test/test Event = CHANGED Expected results (taken from 2.6.38.2 x86_64 machine): Directory Monitor Event: Child = /tmp/test/test Event = CREATED Directory Monitor Event: Child = /tmp/test/test Event = CHANGED Directory Monitor Event: Child = /tmp/test/test Event = CHANGES_DONE_HINT
Tested inotify sample app from http://www.ibm.com/developerworks/linux/library/l-inotify/?ca=drs- x86_64 (kernel 2.6.38.2): > 2 events queued > MODIFY: File "test" on WD #1 > OPEN: File "test" on WD #1 > > 2 events queued > MODIFY: File "test" on WD #1 > CLOSE_WRITE: File "test" on WD #1 ppc64 (kernel 3.1.0-0.rc6): > 4 events queued > MODIFY: File "test" on WD #1 > OPEN: File "test" on WD #1 > MODIFY: File "test" on WD #1 > CLOSE_WRITE: File "test" on WD #1