xfs
[Top] [All Lists]

Re: DMAPI bug in dm_file_getattr() / dm_set_region

To: "James A Goodwin" <jagoodwi@xxxxxxxxxx>
Subject: Re: DMAPI bug in dm_file_getattr() / dm_set_region
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Thu, 06 Jun 2002 13:46:10 -0500
Cc: "Francis Qu" <francis@xxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
>From:  "James A Goodwin" <jagoodwi@xxxxxxxxxx>
>
>Dean,
>
>Thanks for the patch.  It gets us past the problem with dm_get_fileattr().
>
>However, later in the same function (called when the write event was
>received), my process hangs on dm_set_region() for the same file.  Is this
>perhaps a similar problem with a similar fix?

So a user process opens a file for append, and then does a write.  This
generates a write event.

The HSM calls dm_get_events to get the write event.  Then it calls
dm_get_fileattr on that handle, then dm_set_region on that handle, then
finally responds to the write event with dm_respond_event--is that the
scenario?  That scenario doesn't hang for me, so is there anything else going
on in there?

Dean


<Prev in Thread] Current Thread [Next in Thread>