[dm-devel] [PATCH 3/4] dm-userspace: fix DMU_FLAG_SYNC

Dan Smith danms at us.ibm.com
Sat Sep 30 16:32:59 UTC 2006


FT> My point is that the kernel module always sets DMU_FLAG_SYNC flag
FT> regardless of user space. As the patch does, should dmu_cpy_flag
FT> be used instead of cmu_set_flag? This enables a user-space
FT> programs to choose the behavior.

This is what I did previously; I let userspace set the sync flag if it
wanted to catch the endio.  However, during some debugging, I decided
to just send every endio to userspace.  I think I did this because I
was getting some corruption and thought it might be related to endio.
I think you are right, however, that because we can complete the IOs
in any order, we can delay some endios and not others.  I'll change it
back to copy the flag and do some more testing Monday to verify.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060930/4a80f909/attachment.sig>


More information about the dm-devel mailing list