tech-kern archive

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

Re: Locking in disk(9) api



haaaad%gmail.com@localhost (Adam Hamsik) writes:

>After some discussion I think that disk(9) api should be changed to =
>manage locking by itself and to not require explicit locking from users. =
>There are some options which can be used in this case,]

So far, all users have private locks and the disk(9) data is seen
as part of the device instance and is protected by such a private lock.
I'm not convinced that you need a separate lock just for disk(9) data.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index