On Sep,Tuesday 30 2008, at 12:57 AM, Adam Hamsik wrote:
Hi folks,After some discussion with rmind@ and blymn@ I tried to implement better locking protocol for my dm driver. I'm attaching result of my work as diff against current this diff probably can't be cleanly applied to current haad-dm sources thereforeI have uploaded my sources here [1]. TODO: 1) Testing2) Think about if current state of ioctl-> ioctl synchronisation is o, if not addioctl call reference counter like I did for io/table users. [1] www.netbsd.org/~haad/dm09292008.tar.bz2
I have fixed two small bugs in driver updated patch is here
Attachment:
dm_locking.diff
Description: Binary data
Regards Adam.