Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reverted changes related to io_map_segment. | Roland McGrath | 1999-09-13 | 1 | -3/+1 |
| | |||||
* | 1999-09-08 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-09-08 | 1 | -1/+3 |
| | | | | | | | | | | | | | | * 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-09-04 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-09-04 | 1 | -8/+9 |
| | | | | | | | | | * pager.c (find_address): If !ISREAD, then don't return errors for access past NP->allocsize, and clear *ADDR and *DISKSIZE. These can happen through harmless races against truncate. (pager_write_page): Don't print annoying messages for writes to unallocated disk. These can happen through harmless races against truncate, and so we should not pester the console with them. | ||||
* | 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-07-11 | 1 | -2/+3 |
| | | | | | | * dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. * hyper.c (get_hypermetadata): Likewise. * pager.c (pager_read_page): Likewise. | ||||
* | Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> | Thomas Bushnell | 1997-08-20 | 1 | -0/+7 |
| | | | | | | | | | | | | | * 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. | ||||
* | (pager_read_page, pager_write_page, pager_unlock_page): | Miles Bader | 1997-06-20 | 1 | -5/+11 |
| | | | | | Adjust device addresses for possible differences between DEV_BSIZE & device block size. | ||||
* | (pager_report_extent): | Miles Bader | 1996-09-23 | 1 | -20/+37 |
| | | | | | | | | | | | | | | | Use fields in STORE instead of DISKFS_DEVICE_* variables. (pager_read_page, pager_write_page, pager_unlock_page): Use store_{read,write} instead of diskfs_device_{read,write}_sync. (create_disk_pager): Create PAGER_BUCKET. Use diskfs_start_disk_pager instead of disk_pager_setup. (thread_function): Function removed. (disk_image): New variable. (create_disk_pager, diskfs_shutdown_pager, diskfs_sync_everything): Use DISKFS_DISK_PAGER instead of DISK_PAGER. | ||||
* | (diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync it | Michael I. Bushnell | 1996-06-24 | 1 | -2/+2 |
| | | | | instead. | ||||
* | (diskfs_get_filemap): Initialize UPI->allow_unlocked_pagein and | Michael I. Bushnell | 1996-05-03 | 1 | -9/+62 |
| | | | | | | | | 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. | ||||
* | (pager_unlock_page): Use read/write_disk_entry when reading/writing | Michael I. Bushnell | 1996-04-23 | 1 | -5/+10 |
| | | | | on-disk inode fields and indirect blocks. | ||||
* | (diskfs_max_user_pager_prot) [add_pager_max_prot]: | Michael I. Bushnell | 1996-03-18 | 1 | -2/+1 |
| | | | | (a == b) ? 1 : 0 ====> (a == b). | ||||
* | (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. | ||||
* | (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_max_user_pager_prot): Return what we discovered, instead of 1. | Miles Bader | 1995-10-21 | 1 | -1/+1 |
| | |||||
* | (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. | ||||
* | (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_pager_users): Ignore the disk pager when seeing if there are any | Miles Bader | 1995-09-06 | 1 | -3/+2 |
| | | | | active pagers. | ||||
* | (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. | ||||
* | (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. | ||||
* | (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 |
| | |||||
* | (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 |
| | |||||
* | (create_disk_pager): Initialize pager_bucket. | Michael I. Bushnell | 1995-06-21 | 1 | -0/+2 |
| | |||||
* | (pager_bucket): New variable. | Michael I. Bushnell | 1995-06-21 | 1 | -4/+8 |
| | | | | | | | (create_disk_pager): Provide pager_bucket in call to pager_create. (diskfs_get_filemap): Likewise. (diskfs_file_update): Use ports reference calls directly instead of pager wrappers. | ||||
* | (pager_clear_user_data): Doc fix. | Michael I. Bushnell | 1995-05-15 | 1 | -0/+1 |
| | |||||
* | (pager_clear_user_data): Don't die when called on the disk pager. | Miles Bader | 1995-05-08 | 1 | -10/+12 |
| | |||||
* | (pager_clear_user_data): Acquire pagerlistlock around modifications to | Michael I. Bushnell | 1995-05-02 | 1 | -1/+3 |
| | | | | UPI->next/prevp list structure. | ||||
* | entered into RCS | Roland McGrath | 1994-11-08 | 1 | -1/+1 |
| | |||||
* | Formerly pager.c.~41~ | Michael I. Bushnell | 1994-10-25 | 1 | -0/+2 |
| | |||||
* | Formerly pager.c.~40~ | Hurd Maintainers | 1994-10-04 | 1 | -0/+11 |
| | |||||
* | Formerly pager.c.~39~ | Michael I. Bushnell | 1994-10-04 | 1 | -11/+56 |
| | |||||
* | Formerly pager.c.~38~ | Michael I. Bushnell | 1994-09-27 | 1 | -11/+11 |
| | |||||
* | Formerly pager.c.~35~ | Michael I. Bushnell | 1994-09-23 | 1 | -19/+26 |
| | |||||
* | Formerly pager.c.~34~ | Michael I. Bushnell | 1994-09-23 | 1 | -71/+24 |
| | |||||
* | Formerly pager.c.~33~ | Michael I. Bushnell | 1994-09-23 | 1 | -456/+139 |
| | |||||
* | Formerly pager.c.~32~ | Michael I. Bushnell | 1994-09-22 | 1 | -208/+99 |
| | |||||
* | Formerly pager.c.~31~ | Michael I. Bushnell | 1994-09-22 | 1 | -11/+17 |
| | |||||
* | Formerly pager.c.~30~ | Michael I. Bushnell | 1994-09-21 | 1 | -0/+7 |
| | |||||
* | Formerly pager.c.~29~ | Michael I. Bushnell | 1994-09-21 | 1 | -1/+17 |
| | |||||
* | Formerly pager.c.~28~ | Michael I. Bushnell | 1994-09-21 | 1 | -2/+5 |
| | |||||
* | Formerly pager.c.~27~ | Michael I. Bushnell | 1994-09-20 | 1 | -9/+18 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1994-07-19 | 1 | -0/+937 |