summaryrefslogtreecommitdiff
path: root/ufs/pager.c
AgeCommit message (Collapse)Author
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-041999-09-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. * hyper.c (get_hypermetadata): Likewise. * pager.c (pager_read_page): Likewise.
1997-08-20Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-06-20(pager_read_page, pager_write_page, pager_unlock_page):Miles Bader
Adjust device addresses for possible differences between DEV_BSIZE & device block size.
1996-09-23(pager_report_extent):Miles Bader
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.
1996-06-24(diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync itMichael I. Bushnell
instead.
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-04-23(pager_unlock_page): Use read/write_disk_entry when reading/writingMichael I. Bushnell
on-disk inode fields and indirect blocks.
1996-03-18(diskfs_max_user_pager_prot) [add_pager_max_prot]:Michael I. Bushnell
(a == b) ? 1 : 0 ====> (a == b).
1996-01-06(diskfs_shutdown_pager, diskfs_sync_everything): Use `disk_pager' in placeRoland McGrath
of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup.
1996-01-01(pager_unlock_page): When allocating block in direct array, clear itMichael I. Bushnell
synchronously just like we do when it goes in the indirect array.
1995-10-21(diskfs_max_user_pager_prot): Return what we discovered, instead of 1.Miles Bader
1995-10-19(diskfs_get_filemap): Add PROT parameter, & use it.Miles Bader
(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.
1995-10-13(pager_unlock_page, pager_write_page, pager_read_page):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. (pager_report_extent): Calculate the pager size.
1995-09-06(diskfs_pager_users): Ignore the disk pager when seeing if there are anyMiles Bader
active pagers.
1995-07-21(diskfs_get_filemap): Drop initial reference created by pager_create.Michael I. Bushnell
(pager_clear_user_data): Only clear UPI->np->dn->fileinfo if it still points to us.
1995-07-21(diskfs_get_filemap): Free initial reference created by pager_create.Michael I. Bushnell
1995-07-17(thread_function): Don't have any global timeout here; we don't use itMichael I. Bushnell
anyhow.
1995-06-27(diskfs_pager_users/enable_cache): Fix typo.Michael I. Bushnell
Include <unistd.h>.
1995-06-27(diskfs_pager_users): New function.Michael I. Bushnell
1995-06-22(thread_function): Move thread_function to be non-local, of course,Michael I. Bushnell
because it needs to live even after create_disk_pager returns.
1995-06-21(diskfs_sync_everything, diskfs_shutdown_pager): Conform to prototype.Michael I. Bushnell
1995-06-21(diskfs_shutdown_pager): Typos.Michael I. Bushnell
1995-06-21(pager_clear_user_data): Don't maintain pager linked list.Michael I. Bushnell
(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.
1995-06-21(drop_pager_softrefs): Use ports reference calls directly instead ofMichael I. Bushnell
pager wrappers. (allow_pager_softrefs): Likewise. (pager_traverse): Likewise. (diskfs_file_update): Fix typo.
1995-06-21(create_disk_pager): Fork off service thread for pager ports.Michael I. Bushnell
1995-06-21(create_disk_pager): Initialize pager_bucket.Michael I. Bushnell
1995-06-21(pager_bucket): New variable.Michael I. Bushnell
(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.
1995-05-15(pager_clear_user_data): Doc fix.Michael I. Bushnell
1995-05-08(pager_clear_user_data): Don't die when called on the disk pager.Miles Bader
1995-05-02(pager_clear_user_data): Acquire pagerlistlock around modifications toMichael I. Bushnell
UPI->next/prevp list structure.
1994-11-08entered into RCSRoland McGrath
1994-10-25Formerly pager.c.~41~Michael I. Bushnell
1994-10-04Formerly pager.c.~40~Hurd Maintainers
1994-10-04Formerly pager.c.~39~Michael I. Bushnell
1994-09-27Formerly pager.c.~38~Michael I. Bushnell
1994-09-23Formerly pager.c.~35~Michael I. Bushnell
1994-09-23Formerly pager.c.~34~Michael I. Bushnell
1994-09-23Formerly pager.c.~33~Michael I. Bushnell
1994-09-22Formerly pager.c.~32~Michael I. Bushnell
1994-09-22Formerly pager.c.~31~Michael I. Bushnell
1994-09-21Formerly pager.c.~30~Michael I. Bushnell
1994-09-21Formerly pager.c.~29~Michael I. Bushnell
1994-09-21Formerly pager.c.~28~Michael I. Bushnell
1994-09-20Formerly pager.c.~27~Michael I. Bushnell
1994-07-19Initial revisionMichael I. Bushnell