summaryrefslogtreecommitdiff
path: root/ufs
AgeCommit message (Collapse)Author
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-03(diskfs_get_filemap): Initialize UPI->allow_unlocked_pagein andMichael I. Bushnell
UPI->unlocked_pagein_length. (unlocked_pagein_lock): New variable. (find_address): New parameter `isread'; all callers changed. If ISREAD and we are in the unlocked pagein region, don't attempt to acquire NP->dn->allocptrlock.
1996-05-03(struct user_pager_info): New members `allow_unlocked_pagein' andMichael I. Bushnell
`unlocked_pagein_length'. (unlocked_pagein_lock): New variable.
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-26(makemode): Now `servers'.Michael I. Bushnell
(targets): Renamed from `target'; now include ufs.static. (ufs.static-LDFLAGS): Renamed from `LDFLAGS'. (ufs.static): Depend on same things as `ufs'. (include ../Makeconf): Must come before dependency information.
1996-04-24(DIRECT_NAMLEN) [! LITTLE_ENDIAN]: Deal correctly with the case whereMichael I. Bushnell
it was written on a little endian machine without the extension.
1996-04-24(DIRECT_NAMLEN) [LITTLE_ENDIAN]: Deal with case correctly where it wasMichael I. Bushnell
written without the extension on a big endian machine.
1996-04-23(block_extended):Michael I. Bushnell
1996-04-23(swab_long_long): one more timeMichael I. Bushnell
1996-04-23and even betterMichael I. Bushnell
1996-04-23(swab_long_long, swab_long): better now.Michael I. Bushnell
1996-04-23fixupMichael I. Bushnell
1996-04-23(swab_long): Cleaner now.Michael I. Bushnell
(swab_long_long): New function.
1996-04-23(read_disknode): typoMichael I. Bushnell
1996-04-23fixup.Michael I. Bushnell
1996-04-23(diskfs_dirempty): node_update -> diskfs_node_update.Michael I. Bushnell
1996-04-23(ffs_blkfree): final fixup.Michael I. Bushnell
1996-04-23(read_disk_entry): Proper syntax.Michael I. Bushnell
1996-04-23Include <string.h>.Michael I. Bushnell
Fixup.
1996-04-23(read_disknode): Use read/write_disk_entry when reading/writingMichael I. Bushnell
on-disk inode fields. (write_node): Likewise. (diskfs_set_translator): Likewise. (diskfs_get_translator): Likewise. (diskfs_S_file_get_storage_info): Likewise.
1996-04-23(fetch_indir_spec): Use read/write_disk_entry when reading/writingMichael I. Bushnell
on-disk inode fields and indirect blocks.
1996-04-23(pager_unlock_page): Use read/write_disk_entry when reading/writingMichael I. Bushnell
on-disk inode fields and indirect blocks.
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-23(swab_disk): New variable.Michael I. Bushnell
(swab_short, swab_long): New functions. (read_disk_entry, write_disk_entry): New macros.
1996-04-23(ffs_realloccg): Use read/write_disk_entry when reading/writingMichael I. Bushnell
on-disk inode fields. (ffs_blkpref): Use read_disk_entry when reading from BAP array. (swab_cg, read_cg, release_cg): New functions. (ffs_fragextend, ffs_alloccg, ffs_nodealloccg, ffs_blkfree, diskfs_free_node): Use new cg access functions.
1996-04-23(read_disk_entry): New macro.Michael I. Bushnell
1996-04-23(swab_sblock, swab_csums): New functions.Michael I. Bushnell
(get_hypermetadata): If this is a swapped filesystem, set swab_disk. Also swap csum and sblock after reading them. (diskfs_set_hypermetadata): If swab_disk, swap the csums back before writing them. (copy_sblock): If swab_disk, swap the sblock before writing it.
1996-04-23(swab_disk): New variable.Michael I. Bushnell
(swab_short, swab_long): New functions.
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-04-18(ffs_realloccg): If we are allocating a new block, don't actually freeMichael I. Bushnell
the old one here.
1996-04-16(diskfs_lookup_hard): Set atime appropriately, and sync the new atimeMichael I. Bushnell
if we are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise.
1996-04-16(diskfs_write_disknode): Only do sync if WAIT is set.Michael I. Bushnell
1996-04-04(diskfs_cached_lookup): Intialize NP->cache_id *after* NP exists.Miles Bader
1996-04-03*** empty log message ***Michael I. Bushnell
1996-04-03(diskfs_cached_lookup): Renamed from `iget'. All callers changed.Michael I. Bushnell
1996-04-03(diskfs_lookup_hard):Michael I. Bushnell
1996-04-03(warp_root):Michael I. Bushnell
1996-04-03(diskfs_lookup_hard):Michael I. Bushnell
1996-04-03(iget): Initialize NP->cache_id.Michael I. Bushnell
1996-03-29(diskfs_truncate): Cast DI->di_shortlink to correct type before addingMichael I. Bushnell
a character count to it.
1996-03-25(diskfs_null_dirstat): doc fixMichael I. Bushnell
1996-03-25(diskfs_null_dirstat): New function.Michael I. Bushnell
1996-03-23(read_symlink_hook): Only set NP's atime if !readonly.Miles Bader
1996-03-20(diskfs_lookup_hard): Don't do final permission checking here.Michael I. Bushnell
1996-03-20(diskfs_lookup_hard): Don't do initial permission checking here.Michael I. Bushnell