cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.c src/sbin/mdconfig mdconfig.8 mdconfig.c

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Mar 10 22:13:10 PST 2004


In message <20040311044722.GA93643 at regency.nsu.ru>, Alexey Dokuchaev writes:

>>   Log:
>>   Fix a long-standing deadlock issue with vnode backed md(4) devices:
>>   
>Just out of curiosity, is your fix a real fix, or just a clever
>workaround?  Meaning, there are some very in-depth issues involved that
>prevent this problem from being fixed without performance penalty?

That is a matter of taste more than anything else.  A vnode backed md(4)
device is technically a layering violation, so either the syncer or
the md(4) code itself (or both) needs to be aware of the special case.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list