Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (diskfs_lookup_hard): Set atime appropriately, and sync the new atime | Michael I. Bushnell | 1996-04-16 | 1 | -0/+29 |
| | | | | | | | | if we are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise. | ||||
* | (diskfs_write_disknode): Only do sync if WAIT is set. | Michael I. Bushnell | 1996-04-16 | 1 | -1/+2 |
| | |||||
* | (diskfs_cached_lookup): Intialize NP->cache_id *after* NP exists. | Miles Bader | 1996-04-04 | 1 | -1/+3 |
| | |||||
* | *** empty log message *** | Michael I. Bushnell | 1996-04-03 | 1 | -1/+0 |
| | |||||
* | (diskfs_cached_lookup): Renamed from `iget'. All callers changed. | Michael I. Bushnell | 1996-04-03 | 1 | -1/+1 |
| | |||||
* | (diskfs_lookup_hard): | Michael I. Bushnell | 1996-04-03 | 1 | -5/+5 |
| | |||||
* | (warp_root): | Michael I. Bushnell | 1996-04-03 | 1 | -1/+1 |
| | |||||
* | (diskfs_lookup_hard): | Michael I. Bushnell | 1996-04-03 | 1 | -1/+1 |
| | |||||
* | (iget): Initialize NP->cache_id. | Michael I. Bushnell | 1996-04-03 | 1 | -1/+1 |
| | |||||
* | (diskfs_truncate): Cast DI->di_shortlink to correct type before adding | Michael I. Bushnell | 1996-03-29 | 1 | -1/+1 |
| | | | | a character count to it. | ||||
* | (diskfs_null_dirstat): doc fix | Michael I. Bushnell | 1996-03-25 | 1 | -2/+1 |
| | |||||
* | (diskfs_null_dirstat): New function. | Michael I. Bushnell | 1996-03-25 | 1 | -0/+8 |
| | |||||
* | (read_symlink_hook): Only set NP's atime if !readonly. | Miles Bader | 1996-03-23 | 1 | -2/+4 |
| | |||||
* | (diskfs_lookup_hard): Don't do final permission checking here. | Michael I. Bushnell | 1996-03-20 | 1 | -10/+0 |
| | |||||
* | (diskfs_lookup_hard): Don't do initial permission checking here. | Michael I. Bushnell | 1996-03-20 | 1 | -6/+0 |
| | |||||
* | (diskfs_dirrewrite_hard): Renamed from diskfs_dirrewrite. No longer | Michael I. Bushnell | 1996-03-20 | 1 | -22/+13 |
| | | | | | | | | | call modification tracking routines. (diskfs_dirremove_hard): Renamed from diskfs_dirremove. No longer call modification tracking routines. (diskfs_direnter_hard): Renamed from diskfs_direnter. No longer call modification tracking routines. (diskfs_lookup_hard): Renamed from diskfs_lookup. | ||||
* | (main): Pass new arg to argp_parse. | Miles Bader | 1996-03-19 | 1 | -1/+1 |
| | |||||
* | (diskfs_max_user_pager_prot) [add_pager_max_prot]: | Michael I. Bushnell | 1996-03-18 | 1 | -2/+1 |
| | | | | (a == b) ? 1 : 0 ====> (a == b). | ||||
* | (get_hypermetadata): Use diskfs_device_arg in unclean msgs. | Roland McGrath | 1996-02-23 | 1 | -2/+6 |
| | |||||
* | Implement proper handling of the filesystem `clean bit'. | Roland McGrath | 1996-02-21 | 1 | -36/+71 |
| | | | | | | | | | | (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. | ||||
* | (main): Check error return from diskfs_init_diskfs. | Miles Bader | 1996-02-17 | 1 | -1/+3 |
| | |||||
* | (diskpager, diskpagerport, disk_image): Variables removed. | Roland McGrath | 1996-01-06 | 1 | -14/+11 |
| | | | | | Include <hurd/diskfs-pager.h> instead. (sync_disk_blocks): Use `disk_pager' in place of `diskpager->p'. | ||||
* | (diskfs_shutdown_pager, diskfs_sync_everything): Use `disk_pager' in place | Roland McGrath | 1996-01-06 | 1 | -71/+65 |
| | | | | | of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup. | ||||
* | (sync_disk): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -5/+5 |
| | |||||
* | (indir_release): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -58/+58 |
| | |||||
* | (diskfs_reload_global_state): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -1/+1 |
| | |||||
* | (get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception () | Roland McGrath | 1996-01-05 | 1 | -10/+16 |
| | | | | inside assert, bonehead! Use assert_perror on a variable of its result. | ||||
* | (main): Don't map disk image here; create_disk_pager now does it. | Roland McGrath | 1996-01-05 | 1 | -12/+5 |
| | |||||
* | (pager_unlock_page): When allocating block in direct array, clear it | Michael I. Bushnell | 1996-01-01 | 1 | -1/+3 |
| | | | | synchronously just like we do when it goes in the indirect array. | ||||
* | (diskfs_lookup): If we are returning an error, then set the dirstat to | Michael I. Bushnell | 1995-12-14 | 1 | -1/+5 |
| | | | | be ignored by drop_dirstat. | ||||
* | (struct dirstat): New member `nbytes'. | Michael I. Bushnell | 1995-11-09 | 1 | -16/+42 |
| | | | | | | (dirscanblock): If DS->type is COMPRESS, still look for TAKE/SHRINK possibilities. Also, if it's COMPRESS, still look to see if the current block can be compressed with fewer byte copies. | ||||
* | (diskfs_S_file_get_storage_info): Add FLAGS argument. | Miles Bader | 1995-11-06 | 1 | -1/+3 |
| | |||||
* | (main): Add FLAGS arg to diskfs_startup_diskfs call. | Miles Bader | 1995-11-06 | 1 | -1/+1 |
| | |||||
* | (diskfs_max_user_pager_prot): Return what we discovered, instead of 1. | Miles Bader | 1995-10-21 | 1 | -1/+1 |
| | |||||
* | (flush_pokes): New function. | Miles Bader | 1995-10-19 | 1 | -0/+19 |
| | |||||
* | (diskfs_node_reload): New function. | Miles Bader | 1995-10-19 | 1 | -5/+18 |
| | | | | (iget): Move allocsize setting into read_disknode. | ||||
* | (main): | Miles Bader | 1995-10-19 | 1 | -28/+10 |
| | | | | | | | Always include VM_PROT_WRITE in max prot. Move stuff into get_hypermetadata. Writable init code moved to diskfs_readonly_changed. (diskfs_reload_global_state): New function. | ||||
* | (struct user_pager_info): Add max_prot field. | Miles Bader | 1995-10-19 | 1 | -82/+6 |
| | | | | | | | | (struct rwlock): Structure deleted. (rwlock_init, rwlock_reader_unlock, rwlock_reader_lock, rwlock_writer_lock, rwlock_writer_unlock): Functions deleted. (zeroblock, sblock, csum): Declare extern. (flush_node_pager, flush_pokes): New declarations. | ||||
* | (diskfs_get_filemap): Add PROT parameter, & use it. | Miles Bader | 1995-10-19 | 1 | -27/+107 |
| | | | | | | (diskfs_pager_users): Split out block_caching & enable_caching. (block_caching, enable_caching, diskfs_max_user_pager_prot): New functions. (flush_node_pager): New function. | ||||
* | (diskfs_readonly_changed): New function. | Miles Bader | 1995-10-19 | 1 | -2/+51 |
| | | | | | | | | | (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. | ||||
* | (diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg. | Miles Bader | 1995-10-19 | 2 | -11/+8 |
| | |||||
* | (main): Use new handy diskfs routines and get rid of tons of junk. Main | Miles Bader | 1995-10-13 | 1 | -175/+38 |
| | | | | | | | | should be almost all ufs-specific now. (USAGE, usage, SHORT_OPTS, long_opts, parse_opt, trans_parse_arg): RIP. (printf_lock): Initialize. (diskfs_init_completed): Function deleted (now in libdiskfs). (thread_cancel): Function deleted. | ||||
* | (SRCS): Remove devio.c. | Miles Bader | 1995-10-13 | 1 | -1/+1 |
| | |||||
* | (dev_read_sync, dev_write_sync, dev_write, diskpagersize): Decls removed. | Miles Bader | 1995-10-13 | 1 | -9/+0 |
| | |||||
* | (diskfs_set_hypermetadata): | Miles Bader | 1995-10-13 | 1 | -2/+4 |
| | | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. | ||||
* | (pager_unlock_page, pager_write_page, pager_read_page): | Miles Bader | 1995-10-13 | 1 | -4/+5 |
| | | | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. (pager_report_extent): Calculate the pager size. | ||||
* | (diskfs_grow): | Miles Bader | 1995-10-13 | 1 | -4/+5 |
| | | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. | ||||
* | (diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE, | Miles Bader | 1995-10-13 | 1 | -2/+3 |
| | | | | and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME. | ||||
* | (diskfs_S_file_get_storage_info): | Miles Bader | 1995-10-07 | 1 | -2/+4 |
| | | | | Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter. | ||||
* | (diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize. | Miles Bader | 1995-10-05 | 1 | -2/+2 |
| | | | | fsys_stb_fsize -> fsys_stb_bsize. |