aboutsummaryrefslogtreecommitdiff
path: root/ufs/sizes.c
Commit message (Collapse)AuthorAgeFilesLines
* Reverted changes related to io_map_segment.Roland McGrath1999-09-131-3/+3
|
* 1999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-081-3/+3
| | | | | | | | | | | | | | * dir.c (diskfs_get_directs): Initialize `err' to shut gcc up. 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> * dir.c (diskfs_lookup_hard): Pass additional parameter to diskfs_get_filemap. (diskfs_dirempty): Likewise. * sizes.c (diskfs_truncate): Likewise. (block_extended): Likewise. (diskfs_grow): Likewise. * pager.c (diskfs_get_filemap): Accept additional parameter.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-3/+3
| | | | | | | | | | | | | | | * dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate. (diskfs_direnter_hard): Likewise. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise. (diskfs_dirempty): Likewise. (diskfs_drop_dirstat): Likewise. (diskfs_get_directs): Likewise. * sizes.c (block_extended): Likewise. (poke_pages): Likewise. * hyper.c (get_hypermetadata): Likewise. (diskfs_set_hypermetadata): Likewise.
* Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-5/+17
| | | | | | | | | | | | | * dir.c (diskfs_lookup_hard): Cope with error return from diskfs_get_filemap. * sizes.c (diskfs_grow): Likewise. * dir.c (diskfs_dirempty): Cope (poorly) with error return from diskfs_get_filemap. * sizes.c (diskfs_truncate): Likewise. (block_extended): Likewise. * pager.c (diskfs_get_filemap): If pager_create fails, return error to caller.
* (block_extended, diskfs_grow):Miles Bader1996-09-231-6/+8
| | | | | | | | Do cast it to offer_data. (diskfs_truncate): Don't cast ZEROBLOCK to diskfs_node_rw. (indir_release): Use DISKFS_DISK_PAGER instead of DISK_PAGER.
* (diskfs_truncate): Call record_poke after truncating a kludgedMichael I. Bushnell1996-07-061-0/+1
| | | | symlink.
* (diskfs_truncate): Call diskfs_check_readonly.Michael I. Bushnell1996-06-241-0/+2
| | | | (diskfs_grow): Likewise.
* (block_extended): more fixupMichael I. Bushnell1996-05-031-4/+4
|
* fixupMichael I. Bushnell1996-05-031-10/+7
|
* (block_extended): Rewrite code that moves pages to be more efficient,Michael I. Bushnell1996-05-031-37/+55
| | | | | | | and not deadlock too, using unlocked pagein permission feature (read "hack"). Return value now indicates whether we expect a sync. (diskfs_grow): If a call to block_extended returns nonzero, then sync the file before returning.
* fixupMichael I. Bushnell1996-05-021-4/+5
|
* (block_extended): When moving data, sync in-core pager both beforeMichael I. Bushnell1996-05-021-7/+26
| | | | | | reading from disk and after providing data to kernel. (diskfs_grow): Always call block_extended or offer_data before adjusting block pointer.
* (offer_data): Offer pages at ADDR each time through the loop, not theMichael I. Bushnell1996-05-021-1/+1
| | | | same page over and over.
* (diskfs_grow): In last offer_data, don't offer a block number as anMichael I. Bushnell1996-04-301-1/+1
| | | | address.
* (block_extended):Michael I. Bushnell1996-04-231-1/+1
|
* fixupMichael I. Bushnell1996-04-231-2/+3
|
* (diskfs_truncate): Use read/write_disk_entry when reading/writingMichael I. Bushnell1996-04-231-18/+29
| | | | | | | | | on-disk indirect blocks. (diskfs_grow): Likewise. (indir_release): Likewise. (diskfs_truncate): Use read/write_disk_entry when reading/writing on-disk inode fields. (diskfs_grow): Likewise.
* (diskfs_grow): New variable `pagerpt'.Michael I. Bushnell1996-04-181-43/+70
| | | | | | | | (offer_zeroes, block_extended): New functions. (diskfs_grow): In initializing newly allocated data disk blocks with zeroes, use less aggressive offer_zeroes instead of immediate synchronous writes. After ffs_realloccg succeeds, use block_extended to handle the magic. Get rid of old poke calls.
* (diskfs_truncate): Cast DI->di_shortlink to correct type before addingMichael I. Bushnell1996-03-291-1/+1
| | | | a character count to it.
* (indir_release): Use `disk_pager' in place of `diskpager->p'.Roland McGrath1996-01-061-58/+58
|
* (diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader1995-10-191-2/+2
|
* (diskfs_grow):Miles Bader1995-10-131-4/+5
| | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
* (indir_release): When freeing direct blocks mentioned in a singleMichael I. Bushnell1995-08-251-9/+11
| | | | | | indirect block, or single indirect blocks mentioned in a double, only call the free routine (ffs_blkfree or indir_release, respectively) if the block is actually allocated.
* (diskfs_truncate): Use ports reference calls directly instead of pagerMichael I. Bushnell1995-06-211-4/+4
| | | | wrappers.
* (diskfs_grow): Provide initialization of POKE_OFF.Michael I. Bushnell1995-06-201-1/+1
|
* (diskfs_truncate): Remove assignment from if test.Michael I. Bushnell1995-06-201-1/+2
|
* (diskfs_truncate): Don't acquire writer lock on NP->dn->allocptrlockMichael I. Bushnell1995-03-311-6/+6
| | | | | | | until after forcing delayed copies through; otherwise the pageins will deadlock attempting to get a reader lock to service them. This is safe, because we only need NP->allocsize here, and that can't change as long as we hold NP->lock.
* entered into RCSMichael I. Bushnell1994-10-281-4/+0
|
* Formerly sizes.c.~24~Michael I. Bushnell1994-10-041-11/+28
|
* Formerly sizes.c.~23~Michael I. Bushnell1994-10-031-55/+126
|
* Formerly sizes.c.~22~Michael I. Bushnell1994-09-271-2/+2
|
* Formerly sizes.c.~21~Michael I. Bushnell1994-09-271-50/+84
|
* Formerly sizes.c.~20~Michael I. Bushnell1994-09-231-362/+357
|
* Formerly sizes.c.~19~Michael I. Bushnell1994-09-221-0/+2
|
* Formerly sizes.c.~18~Michael I. Bushnell1994-09-211-4/+0
|
* Formerly sizes.c.~17~Michael I. Bushnell1994-09-211-1/+6
|
* Formerly sizes.c.~16~Michael I. Bushnell1994-07-151-20/+24
|
* Formerly sizes.c.~15~Michael I. Bushnell1994-07-141-17/+39
|
* Formerly sizes.c.~14~Michael I. Bushnell1994-06-131-8/+16
|
* Initial revisionMichael I. Bushnell1994-06-091-0/+474