summaryrefslogtreecommitdiff
path: root/ufs/hyper.c
AgeCommit message (Collapse)Author
1997-06-20(diskfs_set_hypermetadata):Miles Bader
Adjust device addresses for possible differences between DEV_BSIZE & device block size.
1996-09-23(zeroblock):Miles Bader
Change type to `void *'. (diskfs_set_hypermetadata): Use store_{read,write} instead of diskfs_device_{read,write}_sync. (get_hypermetadata): Cast ZEROBLOCK when vm_{de,}allocating. Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG. (get_hypermetadata, diskfs_readonly_changed): Use fields in STORE instead of DISKFS_DEVICE_* variables.
1996-08-12*** empty log message ***Thomas Bushnell
1996-06-24(diskfs_set_hypermetadata): If CLEAN is not set, make sure we clearMichael I. Bushnell
the clean bit on disk. Always call sync_disk (with appropriate WAIT). (diskfs_readonly_changed): Don't do set_hypermetadata here. (copy_sblock): Don't track clean state here.
1996-04-23fixup.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-02-23(get_hypermetadata): Use diskfs_device_arg in unclean msgs.Roland McGrath
1996-02-21Implement proper handling of the filesystem `clean bit'.Roland McGrath
(ufs_clean): New variable. (get_hypermetadata): Set it from the fs_clean flag. If not clean, complain and force read-only. Complain when ignoring COMPAT_BSD42. (diskfs_set_hypermetadata): Set the clean flag in the superblock when CLEAN and fs was clean to start with. (copy_sblock): Remove bogus clean flag frobnication.
1996-01-05(get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception ()Roland McGrath
inside assert, bonehead! Use assert_perror on a variable of its result.
1995-10-19(diskfs_readonly_changed): New function.Miles Bader
(get_hypermetadata): Move compat_mode futzing & disk size validation here from main. Only allocate SBLOCK if not already done. Deallocate any old ZEROBLOCK and CSUM storage. (zeroblock, sblock, csum): Define (were common). (diskfs_readonly_changed): New function.
1995-10-13(diskfs_set_hypermetadata):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
1995-09-22(get_hypermetadata): Use %Zd format for result of sizeof.Roland McGrath
1994-11-11(diskfs_set_hypermetadata): Deallocate BUF in the right place.Michael I. Bushnell
1994-11-11(diskfs_set_hypermetadata): Always use dev_write_sync to avoidMichael I. Bushnell
device_write bug that says you can't modify the buffer until device_write returns. Also remember to deallocate BUF.
1994-11-10(diskfs_set_hypermetadata): Copy CSUM into a page-aligned page-sizedMichael I. Bushnell
buffer for disk write to avoid inane kernel bug.
1994-11-02entered into RCSMichael I. Bushnell
1994-10-25Formerly hyper.c.~15~Michael I. Bushnell
1994-09-27Formerly hyper.c.~14~Michael I. Bushnell
1994-09-23Formerly hyper.c.~13~Michael I. Bushnell
1994-09-23Formerly hyper.c.~12~Michael I. Bushnell
1994-09-23Formerly hyper.c.~11~Michael I. Bushnell
1994-09-23Formerly hyper.c.~10~Michael I. Bushnell
1994-09-12Formerly hyper.c.~9~Michael I. Bushnell
1994-07-19Formerly hyper.c.~8~Michael I. Bushnell
1994-07-15Formerly hyper.c.~7~Michael I. Bushnell
1994-07-14Formerly hyper.c.~6~Michael I. Bushnell
1994-06-02Formerly hyper.c.~5~Michael I. Bushnell
1994-04-05Formerly hyper.c.~4~Michael I. Bushnell
1994-02-10Formerly hyper.c.~3~Michael I. Bushnell
1994-02-08Formerly hyper.c.~2~Michael I. Bushnell
1994-02-08Initial revisionMichael I. Bushnell