summaryrefslogtreecommitdiff
path: root/sys/isofs/udf
AgeCommit message (Collapse)Author
2008-11-08fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ pedro@
2008-07-23Correct cases of mishandling of pending reads and writes to preventBob Beck
them going negative - this consists of identifying a number of cases of IO not going through the buffer cache and marking those buffers with B_RAW - as well as fixing nfs_bio to show pending writes and reads through the buffer cache via NFS still has a problem with mishandling the counters I believe in the async/sync fallback case where counters stay positive which will be addressed seperately. ok tedu@ deraadt@
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)Michael Knudsen
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking.
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10Buffer cache revampBob Beck
1) remove multiple size queues, introduced as a stopgap. 2) decouple pages containing data from their mappings 3) only keep buffers mapped when they actually have to be mapped (right now, this is when buffers are B_BUSY) 4) New functions to make a buffer busy, and release the busy flag (buf_acquire and buf_release) 5) Move high/low water marks and statistics counters into a structure 6) Add a sysctl to retrieve buffer cache statistics Tested in several variants and beat upon by bob and art for a year. run accidentally on henning's nfs server for a few months... ok deraadt@, krw@, art@ - who promises to be around to deal with any fallout
2008-06-09Update access(2) to have modern semantics with respect to X_OK andTodd C. Miller
the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@
2008-05-08retire vn_default_error() and replace all instancesThordur I. Bjornsson
with eopnotsupp() instead; ok blambert@
2007-12-09update pedro's email address, at his request;Jason McIntyre
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
ok krw@
2007-10-06Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.Kenneth R Westerback
2007-10-03MALLOC+bzero -> malloc+M_ZERO.Kenneth R Westerback
In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-06-08all disklabels read from the kernel now always contain a total sectorTheo de Raadt
size which is the REAL DISK SIZE. always. if a driver fails to set this right, please fix it. agreed with otto and krw
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentTheo de Raadt
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
2007-05-09lockmgr_printinfo() calls only if DIAGNOSTICTheo de Raadt
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-25Remove LK_INTERLOCK from flags in a call to vget();Thordur I. Bjornsson
ok pedro@
2007-03-21Remove the v_interlock simplelock from the vnode structure.Thordur I. Bjornsson
Zap all calls to simple_lock/unlock() on it (those calls are #defined away though). Remove the LK_INTERLOCK from the calls to vn_lock() and cleanup the filesystems wich implement VOP_LOCK(). (by remvoing the v_interlock from there calls to lockmgr()). ok pedro@, art@, tedu@
2006-10-16Use daddr64_t for logical blocks, okay krw@ thib@ mickey@Pedro Martelletto
2006-08-07Revert last commitPedro Martelletto
2006-08-06obey the locking disaplince wrt to VOP_CLOSE during umountsThordur I. Bjornsson
and mount error paths. ok sturm@ pedro@
2006-07-12Remove unused functionPedro Martelletto
2006-07-11Don't hold up a vnode for the VAT when a unode is sufficientPedro Martelletto
2006-07-11Make the mounting process pass a hint to the kernel of where to find the VATPedro Martelletto
2006-07-09Be consistent about how we name 'struct umount' instancesPedro Martelletto
2006-07-09udf_mnt -> umount and rename fields accordinglyPedro Martelletto
2006-07-08Be consistent about how we name 'struct unode' instancesPedro Martelletto
2006-07-08udf_node -> unode and rename fields accordinglyPedro Martelletto
2006-07-08Rename VTON() to VTOU()Pedro Martelletto
2006-07-05Add VAT support a la UDF 1.50Pedro Martelletto
2006-07-04Add the UDF 1.50 flavour of the VATPedro Martelletto
2006-07-01Fix MALLOC()/malloc() usage in a couple of placesPedro Martelletto
2006-06-24Shave 8 bytes off struct udf_mntPedro Martelletto
2006-06-24replace unneeded bzero()Pedro Martelletto
2006-06-24rearrange some commentsPedro Martelletto
2006-06-23fix two nested loops sharing the same control variable, plug two memoryPedro Martelletto
leaks and be consistent about error values returned to the caller
2006-06-22Roll in some defines for the file types used in udf_vget() and add onePedro Martelletto
for the VAT, no binary change
2006-06-22Make udf_find_partmaps() correctly spot virtual partition maps inPedro Martelletto
medias that have it, testing jmc@ and myself.
2006-06-14Avoid potential deadlock during hash lookup; ok pedro@Patrick Latifi
2006-06-14Plug memory leak in error path; ok pedro@Patrick Latifi
2006-01-19GETICBLEN() needs to swap the ICB length on big-endian architecturesPedro Martelletto
2006-01-18Fix math in udf_bmap_internal() on big-endian architecturesPedro Martelletto
2006-01-15Fix reading of volume IDPedro Martelletto
2006-01-15typoPedro Martelletto
2006-01-14Move udf_disklabelspoof() to udf_subr.c, no functional changePedro Martelletto
2006-01-14Give UDF a chance of working on big-endian architectures, okay miod@Pedro Martelletto