summaryrefslogtreecommitdiff
path: root/ufs/sizes.c
AgeCommit message (Collapse)Author
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1997-08-20Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-09-23(block_extended, diskfs_grow):Miles Bader
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.
1996-07-06(diskfs_truncate): Call record_poke after truncating a kludgedMichael I. Bushnell
symlink.
1996-06-24(diskfs_truncate): Call diskfs_check_readonly.Michael I. Bushnell
(diskfs_grow): Likewise.
1996-05-03(block_extended): more fixupMichael I. Bushnell
1996-05-03fixupMichael I. Bushnell
1996-05-03(block_extended): Rewrite code that moves pages to be more efficient,Michael I. Bushnell
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.
1996-05-02fixupMichael I. Bushnell
1996-05-02(block_extended): When moving data, sync in-core pager both beforeMichael I. Bushnell
reading from disk and after providing data to kernel. (diskfs_grow): Always call block_extended or offer_data before adjusting block pointer.
1996-05-02(offer_data): Offer pages at ADDR each time through the loop, not theMichael I. Bushnell
same page over and over.
1996-04-30(diskfs_grow): In last offer_data, don't offer a block number as anMichael I. Bushnell
address.
1996-04-23(block_extended):Michael I. Bushnell
1996-04-23fixupMichael I. Bushnell
1996-04-23(diskfs_truncate): Use read/write_disk_entry when reading/writingMichael I. Bushnell
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.
1996-04-18(diskfs_grow): New variable `pagerpt'.Michael I. Bushnell
(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.
1996-03-29(diskfs_truncate): Cast DI->di_shortlink to correct type before addingMichael I. Bushnell
a character count to it.
1996-01-06(indir_release): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1995-10-19(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-10-13(diskfs_grow):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
1995-08-25(indir_release): When freeing direct blocks mentioned in a singleMichael I. Bushnell
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.
1995-06-21(diskfs_truncate): Use ports reference calls directly instead of pagerMichael I. Bushnell
wrappers.
1995-06-20(diskfs_grow): Provide initialization of POKE_OFF.Michael I. Bushnell
1995-06-20(diskfs_truncate): Remove assignment from if test.Michael I. Bushnell
1995-03-31(diskfs_truncate): Don't acquire writer lock on NP->dn->allocptrlockMichael I. Bushnell
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.
1994-10-28entered into RCSMichael I. Bushnell
1994-10-04Formerly sizes.c.~24~Michael I. Bushnell
1994-10-03Formerly sizes.c.~23~Michael I. Bushnell
1994-09-27Formerly sizes.c.~22~Michael I. Bushnell
1994-09-27Formerly sizes.c.~21~Michael I. Bushnell
1994-09-23Formerly sizes.c.~20~Michael I. Bushnell
1994-09-22Formerly sizes.c.~19~Michael I. Bushnell
1994-09-21Formerly sizes.c.~18~Michael I. Bushnell
1994-09-21Formerly sizes.c.~17~Michael I. Bushnell
1994-07-15Formerly sizes.c.~16~Michael I. Bushnell
1994-07-14Formerly sizes.c.~15~Michael I. Bushnell
1994-06-13Formerly sizes.c.~14~Michael I. Bushnell
1994-06-09Initial revisionMichael I. Bushnell