[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, mplaneta/gsoc12/working, created. hurd-release-0-2-33
From: |
Maksym Planeta |
Subject: |
[SCM] Hurd branch, mplaneta/gsoc12/working, created. hurd-release-0-2-3362-geb9aa03 |
Date: |
Fri, 08 Jun 2012 07:51:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, mplaneta/gsoc12/working has been created
at eb9aa030ba6e7f06f55069d4109c447c8478e8ec (commit)
- Log -----------------------------------------------------------------
commit eb9aa030ba6e7f06f55069d4109c447c8478e8ec
Author: Maksym Planeta <address@hidden>
Date: Wed Jun 6 14:38:52 2012 +0300
Update ext2fs according to new lippager interface.
Comments will be later.
commit f278fd0c849065fada38c02d21ec0e63c66892fb
Author: Maksym Planeta <address@hidden>
Date: Wed Jun 6 11:31:59 2012 +0300
Change type of value that libpager callbacks return.
* libpager/pager.h (pager_ops): Fields changed.
commit 5381ff9ca77b873c66887eb0e9c296626c99448f
Author: Maksym Planeta <address@hidden>
Date: Mon Jun 4 22:55:04 2012 +0300
Update tmpfs according to new lippager interface.
* tmpfs/pager-stubs.c: Delete file with obsolete stubs.
* tmpfs/Makefile (SRCS): Remove pager-stubs.c.
commit 665fe2334247c17f915161a5bffcd4dbf6ac3b12
Author: Maksym Planeta <address@hidden>
Date: Mon Jun 4 22:48:30 2012 +0300
Update libdiskfs according to new lippager interface.
* libdiskfs/disk-pager.c (diskfs_start_disk_pager): Take structure of pager
operations and take size of user pager info structure instead of its
pointer. Change utilization of libpager according to new calling
conventions.
* libdiskfs/diskfs-pager.h (diskfs_start_disk_pager): Change function
interface.
commit e45fa01a54e449e84405fe57e41f66a331e891f8
Author: Neal H Walfield <address@hidden>
Date: Wed Apr 10 17:47:58 2002 -0400
Reworking libpager
* pager.h (struct pager): Bring into scope. (struct
pager_ops): New structure. Contains the call backs: read,
write, unlock, report_extent, clear_user_data and dropweak.
Replaces the linker-time call backs: pager_read_page,
pager_write_page, pager_unlock_page, pager_report_extenet,
pager_clear_user_data and pager_drop_weak. Functions now
also have a multipage interface and take block, not byte,
offsets (i.e. off_t's, not vm_address_t's).
(pager_cleate): Take a struct pager_ops to support new interface.
Take the size of the desired user_page_info structure rather than
a user_pager_info structure to correspond with the new semantics.
(pager_get_error): Follow new semantics: take the page number
rather than a byte offset.
(pager_sync_come): Likewise.
(pager_flush_come): Likewise.
(pager_return_some): Likewise.
(pager_memcpy): Likewise.
(pager_offset_page): Remove obsolete function.
(pager_read_page): Removed in favor of call back in struct
pager_ops.
(pager_write_page): Likewise.
(pager_unlock_page): Likewise.
(pager_report_extent): Likewise.
(pager_clear_user_data): Likewise.
(pager_dropweak): Likewise.
(pager_data_supply): New function.
(pager_data_unavailable): Likewise.
(pager_data_read_error): Likewise.
(pager_data_write_error): Likewise.
(pager_data_unlock): Likewise.
(pager_data_unlock_error): Likewise.
* priv.h (struct pager): Change UPI from a struct user_pager_info
to a flex array at the end of the structure to match the new
pager_create semantics. Add the pager_ops call back structure.
(PM_PAGEINWAIT): Macro no longer used.
(PM_WRITEWAIT): Adjust value.
(PM_INIT): Likewise.
(PM_INCORE): Likewise.
(PM_PAGINGOUT): Likewise.
(_pager_pagemap_resize): Take a block offset, not a byte-offset.
(_pager_mark_next_request_error): Likewise.
(_pager_mark_object_error): Likewise.
(_pager_lock_object): Likewise. P->interlock is now expected to
already be held during the call.
* data-return.c (_pager_do_write_request) Remove obsolete
function.
* data-return.c (_pager_seqnos_memory_object_data_return):
Rewritten to work with the new paging interface.
* data-request.c (_pager_seqnos_memory_object_data_request):
Likewise.
* data-unlock.c (_pager_seqnos_memory_object_data_unlock):
Likewise.
* clean.c (_pager_clean): Use the new call backs in P->ops.
* dropweak.c (_pager_real_dropweak): Likewise.
* lock-completed.c (_pager_seqnos_memory_object_lock_completed):
Handle page offsets and not byte offsets.
* lock-object.c (_pager_lock_object): Handle page offsets and not
byte offsets. As per the new interface, do not lock P->interlock
anymore.
* mark-error.c (_pager_mark_next_request_error): Handle page
offsets and not byte offsets. Use vm_page_size, not
__vm_page_size. Doc fix.
(_pager_mark_object_error): Likewise.
(pager_get_error): Likewise.
* pagemap.c (VMCOPY_BETTER_THAN_MEMCPY): New macro.
(_pager_pagemap_resize): Handle page offsets and not byte
offsets. Use vm_page_size, not __vm_page_size. Allocate the
minimum number of pages. Check the result of mmap against
MAP_FAILED, not -1. Use mempcy, not bcopy. Use vm_copy when
appropriate.
* object-init.c (_pager_seqnos_memory_object_init): Use
vm_page_size, not __vm_page_size. Check the result of malloc.
* pager-attr.c (pager_change_attributes): Correct a typo. Add an
assert.
* pager-create.c (pager_create): Comform to the new semantics as
outlined in the pager.h changelog entry.
* pager-flush.c (pager_flush): Use the new call backs in P->ops.
Handle page offsets, not byte offsets. Call the corresponding
_some function rather than copy the code.
* pager-return.c (pager_return): Likewise.
* pager-sync.c (pager_sync): Likewise.
* pager-flush.c (pager_flush_some): Handle page offsets and not
byte offsets. Lock P->interlock around _pager_lock_object as per
the new semantics.
* pager-return.c (pager_return_some): Likewise.
* pager-sync.c (pager_sync_some: Likewise.
* pager-memcpy.c (pager_memcpy): Pass the pager offset, not the
byte offset to _pager_get_error. Change OFFSET to an off_t rather
than a vm_address_t as per the new semantics.
* Makefile (SRCS): Remove offer-pager.c. Add
pager-data-read-error.c pager-data-unavailable.c
pager-data-unlock.c pager-data-supply.c pager-data-unlock-error.c
pager-data-write-error.c.
* offer-page.c: Remove obsolete files.
* pager-data-read-error.c: New file.
* pager-data-supply.c: Likewise.
* pager-data-unavailable.c: Likewise.
* pager-data-unlock-error.c: Likewise.
* pager-data-unlock.c: Likewise.
* pager-data-write-error.c: Likewise.
-----------------------------------------------------------------------
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, mplaneta/gsoc12/working, created. hurd-release-0-2-3362-geb9aa03,
Maksym Planeta <=