Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-23 | Correct cases of mishandling of pending reads and writes to prevent | Bob 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-14 | A 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-12 | Bring biomem diff back into the tree after the nfs_bio.c fix went in. | Theo de Raadt | |
ok thib beck art | |||
2008-06-11 | back out biomem diff since it is not right yet. Doing very large | Theo 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-10 | Fix buffer cache pending read statistics by ensuring we can identify | Bob 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-10 | Buffer cache revamp | Bob 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-09 | Update access(2) to have modern semantics with respect to X_OK and | Todd 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-08 | retire vn_default_error() and replace all instances | Thordur I. Bjornsson | |
with eopnotsupp() instead; ok blambert@ | |||
2007-12-09 | update pedro's email address, at his request; | Jason McIntyre | |
2007-10-29 | MALLOC/FREE -> malloc/free | Charles Longeau | |
ok krw@ | |||
2007-10-06 | Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. | Kenneth R Westerback | |
2007-10-03 | MALLOC+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-17 | Only the most obvious bzero() -> M_ZERO changes. No cast changes, no | Kenneth R Westerback | |
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero(). | |||
2007-06-08 | all disklabels read from the kernel now always contain a total sector | Theo 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-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo 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-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo 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-01 | pedro ok'd this ~3500 line diff which removes the vop argument | Theo de Raadt | |
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too. | |||
2007-05-09 | lockmgr_printinfo() calls only if DIAGNOSTIC | Theo de Raadt | |
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-03-25 | Remove LK_INTERLOCK from flags in a call to vget(); | Thordur I. Bjornsson | |
ok pedro@ | |||
2007-03-21 | Remove 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-16 | Use daddr64_t for logical blocks, okay krw@ thib@ mickey@ | Pedro Martelletto | |
2006-08-07 | Revert last commit | Pedro Martelletto | |
2006-08-06 | obey the locking disaplince wrt to VOP_CLOSE during umounts | Thordur I. Bjornsson | |
and mount error paths. ok sturm@ pedro@ | |||
2006-07-12 | Remove unused function | Pedro Martelletto | |
2006-07-11 | Don't hold up a vnode for the VAT when a unode is sufficient | Pedro Martelletto | |
2006-07-11 | Make the mounting process pass a hint to the kernel of where to find the VAT | Pedro Martelletto | |
2006-07-09 | Be consistent about how we name 'struct umount' instances | Pedro Martelletto | |
2006-07-09 | udf_mnt -> umount and rename fields accordingly | Pedro Martelletto | |
2006-07-08 | Be consistent about how we name 'struct unode' instances | Pedro Martelletto | |
2006-07-08 | udf_node -> unode and rename fields accordingly | Pedro Martelletto | |
2006-07-08 | Rename VTON() to VTOU() | Pedro Martelletto | |
2006-07-05 | Add VAT support a la UDF 1.50 | Pedro Martelletto | |
2006-07-04 | Add the UDF 1.50 flavour of the VAT | Pedro Martelletto | |
2006-07-01 | Fix MALLOC()/malloc() usage in a couple of places | Pedro Martelletto | |
2006-06-24 | Shave 8 bytes off struct udf_mnt | Pedro Martelletto | |
2006-06-24 | replace unneeded bzero() | Pedro Martelletto | |
2006-06-24 | rearrange some comments | Pedro Martelletto | |
2006-06-23 | fix two nested loops sharing the same control variable, plug two memory | Pedro Martelletto | |
leaks and be consistent about error values returned to the caller | |||
2006-06-22 | Roll in some defines for the file types used in udf_vget() and add one | Pedro Martelletto | |
for the VAT, no binary change | |||
2006-06-22 | Make udf_find_partmaps() correctly spot virtual partition maps in | Pedro Martelletto | |
medias that have it, testing jmc@ and myself. | |||
2006-06-14 | Avoid potential deadlock during hash lookup; ok pedro@ | Patrick Latifi | |
2006-06-14 | Plug memory leak in error path; ok pedro@ | Patrick Latifi | |
2006-01-19 | GETICBLEN() needs to swap the ICB length on big-endian architectures | Pedro Martelletto | |
2006-01-18 | Fix math in udf_bmap_internal() on big-endian architectures | Pedro Martelletto | |
2006-01-15 | Fix reading of volume ID | Pedro Martelletto | |
2006-01-15 | typo | Pedro Martelletto | |
2006-01-14 | Move udf_disklabelspoof() to udf_subr.c, no functional change | Pedro Martelletto | |
2006-01-14 | Give UDF a chance of working on big-endian architectures, okay miod@ | Pedro Martelletto | |
2006-01-14 | Better UDF name extraction code, which will not forget to report errors in | Miod Vallat | |
some cases; also silence a few udf messages unless option DIAGNOSTIC. Tests and tweaks and ok pedro@ |