[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd ufs/pager.c ufs/ChangeLog tmpfs/pager-stub... [ams-branch]
From: |
Alfred M . Szmidt |
Subject: |
hurd ufs/pager.c ufs/ChangeLog tmpfs/pager-stub... [ams-branch] |
Date: |
Thu, 25 Aug 2005 14:34:18 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Branch: ams-branch
Changes by: Alfred M. Szmidt <address@hidden> 05/08/25 18:34:18
Modified files:
ufs : pager.c ChangeLog
tmpfs : pager-stubs.c ChangeLog
storeio : pager.c ChangeLog
libpager : priv.h pager.h pager-create.c data-return.c
data-request.c ChangeLog
libdiskfs : priv.h diskfs-pager.h disk-pager.c ChangeLog
isofs : pager.c ChangeLog
fatfs : pager.c ChangeLog
ext2fs : truncate.c pokel.c pager.c inode.c ialloc.c
hyper.c getblk.c ext2fs.h ext2fs.c balloc.c
ChangeLog
console : pager.c ChangeLog
Log message:
console/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager.c (pager_notify_evict): New function.
(user_pager_create): Added zero notify_on_evict argument to
invocation of pager_create.
ext2fs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* ext2fs.h: <hurd/store.h> and <hurd/ihash.h> are included.
(DISK_CACHE_BLOCKS): New macro.
disk_image is renamed to disk_cache.
New extern variables disk_cache_size and disk_cache_blocks.
(DC_INCORE, DC_UNTOUCHED, DC_FIXED, DC_DONT_REUSE, DC_NO_BLOCK):
New macros.
(DISK_CACHE_LAST_READ_XOR) [NDEBUG]: New macro.
(struct disk_cache_info): New struct.
New extern variables disk_cache_bptr, disk_cache_info,
disk_cache_lock, and disk_cache_reassociation.
Prototypes for new functions buffer_lookup, buffer_ref,
buffer_put, and buffer_is_ref.
Variables sblock and sblock_dirty are made extern.
Prototype for function map_hypermetadata.
(trunc_block, round_block, boffs): Added type casting to off_t.
(bptr_index): New macro.
(boffs_ptr, bptr_offs): New inline functions that replace macros.
(dino): Renamed to...
(dino_lookup): ...this name. The new block cache functions are
used.
(dino_put): New inline function.
(record_global_poke, sync_global_ptr, record_indir_poke): The new
block cache functions are used.
(sync_global): Added debug code.
* ext2fs.c (parse_opt): memset is used instead of bzero.
(main): disk_cache is referred instead of disk_image.
map_hypermetadata is called instead of get_hypermetadata.
(diskfs_reload_global_state): map_hypermetadata is called after
get_hypermetadata.
* hyper.c (get_hypermetadata): Superblock is read with
store_read.
(map_hypermetadata): New function.
(diskfs_set_hypermetadata): The new block cache functions are
used.
(diskfs_readonly_changed): disk_cache is referred instead of
disk_image.
* inode.c: The new block cache functions are used.
memcpy is used instead of bcopy.
(rwlock_init): disk_cache is used instead of disk_image.
(read_node): Added missing call to diskfs_end_catch_exception().
round_block is used instead of inline calculations.
* ialloc.c: The new block cache functions are used.
(diskfs_free_node): %Lu instead of %u is used for inode numbers.
* truncate.c: The new block cache functions are used.
(trunc_indirect): Proper mapping from buffer to pager offset.
* getblk.c: The new block cache functions are used.
(ext2_alloc_block): memset is used instead of bzero.
* balloc.c: The new block cache functions are used.
* pokel.c: Proper decrementing of reference counts of buffers.
* pager.c: The new block cache functions are used.
memcpy/memset are used instead of bcopy/bzero.
%Lu instead of %u or %lu is used for block numbers.
<unistd.h> and "../libpager/priv.h" are included.
(file_pager_read_page, pending_blocks_write): Added type casting
to store_offset_t.
(disk_pager_read_page, disk_pager_write_page): Buffers in disk
cache are properly mapped to block numbers.
(disk_pager_notify_evict): New function.
New global variables disk_cache, disk_cache_size,
disk_cache_blocks, disk_cache_bptr, disk_cache_info,
disk_cache_hint, disk_cache_lock, disk_cache_reassociation.
(disk_cache_init, disk_cache_return_unused)
(buffer_lookup, buffer_ref, buffer_put, buffer_is_ref): New
functions.
(create_disk_pager): Added initialization of disk cache.
(diskfs_get_filemap): Added zero notify_on_evict argument to
pager_create.
fatfs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager.c (pager_notify_evict): New function.
(create_fat_pager): Added zero notify_on_evict argument to
invocation of diskfs_start_disk_pager.
(diskfs_get_filemap): Added zero notify_on_evict argument to
invocation of pager_create.
isofs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager.c (pager_notify_evict): New function.
(create_disk_pager): Added zero notify_on_evict argument to
invocation of diskfs_start_disk_pager.
(diskfs_get_filemap): Added zero notify_on_evict argument to
invocation of pager_create.
libdiskfs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* diskfs-pager.h: New argument notify_on_evict to
prototype of diskfs_start_disk_pager.
* disk-pager.c (diskfs_start_disk_pager): New argument
notify_on_evict.
Added zero notify_on_evict argument to invocation of
pager_create.
libpager/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* priv.h (struct pager): New field notify_on_evict.
* pager.h: New argument notify_on_evict is added to pager_create.
New prototype for pager_notify_evict.
* pager-create.c (pager_create): New argument notify_on_evict.
* data-return.c (_pager_do_write_request): Notification of evicted
pages when it's enabled.
* data-request.c (_pager_seqnos_memory_object_data_request):
Slightly changed error handling with same semantics.
If notification on eviction is enabled, only precious pages are
requested from Mach.
storeio/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager.c (pager_notify_evict): New function.
(dev_get_memory_object): Added zero notify_on_evict argument to
invocation of pager_create.
tmpfs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager-stubs.c (pager_notify_evict): New function.
ufs/ChangeLog
2005-08-22 Ognyan Kulev <address@hidden>
* pager.c (pager_notify_evict): New function.
(create_disk_pager): Added zero notify_on_evict argument to
invocation of diskfs_start_disk_pager.
(diskfs_get_filemap): Added zero notify_on_evict argument to
invocation of pager_create.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ufs/pager.c.diff?only_with_tag=ams-branch&tr1=1.48&tr2=1.48.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ufs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.47&tr2=1.47.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/tmpfs/pager-stubs.c.diff?only_with_tag=ams-branch&tr1=1.1&tr2=1.1.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/tmpfs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.26&tr2=1.26.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/storeio/pager.c.diff?only_with_tag=ams-branch&tr1=1.13&tr2=1.13.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/storeio/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.54&tr2=1.54.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/priv.h.diff?only_with_tag=ams-branch&tr1=1.23&tr2=1.23.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/pager.h.diff?only_with_tag=ams-branch&tr1=1.20&tr2=1.20.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/pager-create.c.diff?only_with_tag=ams-branch&tr1=1.18&tr2=1.18.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/data-return.c.diff?only_with_tag=ams-branch&tr1=1.22&tr2=1.22.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/data-request.c.diff?only_with_tag=ams-branch&tr1=1.22&tr2=1.22.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpager/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.21&tr2=1.21.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libdiskfs/priv.h.diff?only_with_tag=ams-branch&tr1=1.45&tr2=1.45.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libdiskfs/diskfs-pager.h.diff?only_with_tag=ams-branch&tr1=1.5&tr2=1.5.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libdiskfs/disk-pager.c.diff?only_with_tag=ams-branch&tr1=1.10&tr2=1.10.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libdiskfs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.185&tr2=1.185.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/isofs/pager.c.diff?only_with_tag=ams-branch&tr1=1.6&tr2=1.6.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/isofs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.38&tr2=1.38.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/pager.c.diff?only_with_tag=ams-branch&tr1=1.4&tr2=1.4.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.12&tr2=1.12.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/truncate.c.diff?only_with_tag=ams-branch&tr1=1.38&tr2=1.38.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/pokel.c.diff?only_with_tag=ams-branch&tr1=1.15&tr2=1.15.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/pager.c.diff?only_with_tag=ams-branch&tr1=1.74&tr2=1.74.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/inode.c.diff?only_with_tag=ams-branch&tr1=1.62&tr2=1.62.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/ialloc.c.diff?only_with_tag=ams-branch&tr1=1.38&tr2=1.38.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/hyper.c.diff?only_with_tag=ams-branch&tr1=1.32&tr2=1.32.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/getblk.c.diff?only_with_tag=ams-branch&tr1=1.25&tr2=1.25.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/ext2fs.h.diff?only_with_tag=ams-branch&tr1=1.71&tr2=1.71.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/ext2fs.c.diff?only_with_tag=ams-branch&tr1=1.55&tr2=1.55.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/balloc.c.diff?only_with_tag=ams-branch&tr1=1.28&tr2=1.28.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.90&tr2=1.90.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/console/pager.c.diff?only_with_tag=ams-branch&tr1=1.1&tr2=1.1.2.1&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/console/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.47&tr2=1.47.2.1&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd ufs/pager.c ufs/ChangeLog tmpfs/pager-stub... [ams-branch],
Alfred M . Szmidt <=