[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DMAPI dm_set_region
>From: "Francis Qu" <francis@raidzone.com>
>When DMAPI application tries to do dm_set_region on a file which is opened for
> write, both DMAPI application and the user application doing the write operat
>ion are blocked. The DMAPI application won't come back from dm_set_region util
>l the user cancels the write job.
What are you using to hold the file open? It is just an open(O_RDWR), or are
you also currently in a write(2) or do you currently have it mmaped? If
mmapped, is it private or shared?
Can you give me a small C test program to hold the file open in a way which
allows this behavior to be seen?
> Is it the way DMAPI works?
Doesn't sound like desirable behavior :)
Dean