Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (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. | ||||
* | (parse_opt): Rearrange slightly. | Miles Bader | 1995-10-04 | 1 | -3/+7 |
| | |||||
* | Include <netinet/in.h>. | Michael I. Bushnell | 1995-09-26 | 1 | -7/+10 |
| | | | | Fix trivial errors in previous change. | ||||
* | (diskfs_S_file_get_storage_info): New function. | Michael I. Bushnell | 1995-09-26 | 1 | -0/+106 |
| | |||||
* | (main): Delete var `devname'. Use `ufs_device_name' throughout | Michael I. Bushnell | 1995-09-26 | 1 | -7/+6 |
| | | | | instead. | ||||
* | (ufs_device_name): New var. | Michael I. Bushnell | 1995-09-26 | 1 | -0/+1 |
| | |||||
* | (LDFLAGS): New variable. | Miles Bader | 1995-09-22 | 1 | -0/+2 |
| | |||||
* | (get_hypermetadata): Use %Zd format for result of sizeof. | Roland McGrath | 1995-09-22 | 1 | -3/+3 |
| | |||||
* | (diskfs_lookup): Require NPP set for RENAME too. | Michael I. Bushnell | 1995-09-13 | 1 | -1/+1 |
| | |||||
* | (diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don't | Michael I. Bushnell | 1995-09-13 | 1 | -7/+11 |
| | | | | | even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP. | ||||
* | (diskfs_pager_users): Ignore the disk pager when seeing if there are any | Miles Bader | 1995-09-06 | 1 | -3/+2 |
| | | | | active pagers. | ||||
* | (ufs): Depend on ../libshouldbeinlibc/libshouldbeinlibc.a. | Roland McGrath | 1995-08-28 | 1 | -1/+1 |
| | |||||
* | (indir_release): When freeing direct blocks mentioned in a single | Michael I. Bushnell | 1995-08-25 | 1 | -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. | ||||
* | (ufs): Add explicit dependencies. | Miles Bader | 1995-08-24 | 1 | -12/+4 |
| | | | | | (HURDLIBS, LDFLAGS, REMHDRS): Removed. Rules associated with ../lib removed. | ||||
* | (diskfs_get_filemap): Drop initial reference created by pager_create. | Michael I. Bushnell | 1995-07-21 | 1 | -19/+26 |
| | | | | | (pager_clear_user_data): Only clear UPI->np->dn->fileinfo if it still points to us. | ||||
* | (diskfs_get_filemap): Free initial reference created by pager_create. | Michael I. Bushnell | 1995-07-21 | 1 | -1/+9 |
| | |||||
* | (thread_function): Don't have any global timeout here; we don't use it | Michael I. Bushnell | 1995-07-17 | 1 | -4/+2 |
| | | | | anyhow. | ||||
* | Removed dependencies that are now automatically generated. | Michael I. Bushnell | 1995-07-06 | 1 | -12/+0 |
| | |||||
* | (diskfs_pager_users/enable_cache): Fix typo. | Michael I. Bushnell | 1995-06-27 | 1 | -2/+3 |
| | | | | Include <unistd.h>. | ||||
* | (diskfs_pager_users): New function. | Michael I. Bushnell | 1995-06-27 | 1 | -0/+67 |
| | |||||
* | (thread_function): Move thread_function to be non-local, of course, | Michael I. Bushnell | 1995-06-22 | 1 | -11/+10 |
| | | | | because it needs to live even after create_disk_pager returns. | ||||
* | (thread_cancel): Typo. | Michael I. Bushnell | 1995-06-22 | 1 | -1/+1 |
| | |||||
* | (thread_cancel): New function (HACK). | Michael I. Bushnell | 1995-06-22 | 1 | -0/+4 |
| | |||||
* | (HURDLIBS): Add libihash. | Michael I. Bushnell | 1995-06-22 | 1 | -1/+1 |
| | |||||
* | (main): Have main thread exit when done instead of calling a diskfs | Michael I. Bushnell | 1995-06-22 | 1 | -3/+3 |
| | | | | function. | ||||
* | (diskfs_sync_everything, diskfs_shutdown_pager): Conform to prototype. | Michael I. Bushnell | 1995-06-21 | 1 | -2/+4 |
| | |||||
* | (diskfs_shutdown_pager): Typos. | Michael I. Bushnell | 1995-06-21 | 1 | -2/+2 |
| | |||||
* | (struct user_pager_info): Drop members next and prevp. | Michael I. Bushnell | 1995-06-21 | 1 | -2/+1 |
| | |||||
* | (pager_clear_user_data): Don't maintain pager linked list. | Michael I. Bushnell | 1995-06-21 | 1 | -54/+19 |
| | | | | | | | | | (diskfs_get_filemap): Don't maintain pager linked list. (pager_dropweak): New function. (pager_traverse): Delete function. (diskfs_shutdown_pager): Use ports_bucket_iterate instead of pager_traverse. (diskfs_sync_everything): Use ports_bucket_iterate instead of pager_traverse. | ||||
* | (drop_pager_softrefs): Use ports reference calls directly instead of | Michael I. Bushnell | 1995-06-21 | 1 | -7/+7 |
| | | | | | | | pager wrappers. (allow_pager_softrefs): Likewise. (pager_traverse): Likewise. (diskfs_file_update): Fix typo. | ||||
* | (create_disk_pager): Fork off service thread for pager ports. | Michael I. Bushnell | 1995-06-21 | 1 | -0/+13 |
| |