[PATCH] MPSAFE/LOOKUP_SHARED cd9660

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Baldwin
Date: Wednesday, November 19, 2008 - 1:10 pm

This is a relatively simple patch to mark cd9660 MPSAFE and enable shared 
lookups.  The changes to cd9660_lookup() mirror similar changes to 
ufs_lookup() to use static variables for local data rather than abusing 
i-node members of the parent directory.  I've done some light testing of 
this, but not super-strenuous.  This patch also includes simple locking for 
the iconv support in the kernel.  That locking uses an sx lock to serialize 
open and close of translator tables and the associated refcount.  Actual 
conversions do not need any locks, however as the mount holds a reference on 
the table.

http://www.FreeBSD.org/~jhb/patches/cd9660_mpsafe.patch

-- 
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Wed Nov 19, 1:10 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Thu Nov 20, 2:30 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Thu Nov 20, 3:31 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Thu Nov 20, 3:47 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Thu Nov 20, 4:26 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Jaakko Heinonen, (Fri Nov 21, 12:40 am)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Fri Nov 21, 4:57 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Fri Dec 5, 10:06 am)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Fri Dec 5, 1:56 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Fri Dec 5, 2:08 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Fri Dec 5, 2:54 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Tue Dec 9, 2:02 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Tue Dec 9, 4:15 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Tue Dec 9, 4:16 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Tue Dec 9, 4:56 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Tue Dec 9, 5:28 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Wed Dec 10, 10:22 am)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Wed Dec 10, 12:50 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, John Baldwin, (Wed Dec 10, 12:50 pm)
Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660, Paul B. Mahol, (Wed Dec 10, 4:54 pm)