[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DMAPI Managed Region




>From:  "Francis Qu" <francis@raidzone.com>
>I set DM_REGION_WRITE | DM_REGION_TRUNC on a file. When I use vi to edit the
>file, the write event is not generated as expected. The program is still
>waiting and nothing happens. But the managed regions are cleared. Any ideas
>on what happened in XFS?

I think vi doesn't work that way.  It doesn't write to that same file, it
replaces the file.  Compare the before-and-after inode numbers, or the
before-and-after filehandles.  I bet you'll get a destroy event, if you
register for it.

(still haven't looked at your set_region problem)

Dean