[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, mplaneta/gsoc12/review, created. hurd-release-0-2-338
From: |
Maksym Planeta |
Subject: |
[SCM] Hurd branch, mplaneta/gsoc12/review, created. hurd-release-0-2-3383-g46b7cc5 |
Date: |
Sun, 28 Oct 2012 16:02:51 +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/review has been created
at 46b7cc56859e7ddfdb98444d39f02ce53f96339f (commit)
- Log -----------------------------------------------------------------
commit 46b7cc56859e7ddfdb98444d39f02ce53f96339f
Author: Maksym Planeta <address@hidden>
Date: Sun Oct 7 21:24:57 2012 +0300
Add assertion to check if inode number is correct.
* ext2fs/getblk.c (inode_getblk): Function is changed.
commit d4ea51228849e26e1d1771f9b4cfbb53f4994095
Author: Maksym Planeta <address@hidden>
Date: Sun Oct 7 20:31:02 2012 +0300
Make sure that function read_node will not get bad data.
* ext2fs/ialloc.c (ext2_alloc_inode): Function is changed.
commit 2cc40183b795a23b4008f24ddb322b419343dad6
Author: Maksym Planeta <address@hidden>
Date: Sun Oct 7 20:23:39 2012 +0300
Fix bug in case when a large file is met.
* ext2fs/inode.c (read_node): Function is changed.
commit 957997b584c0d1f2352ef608864d3f364fe92835
Author: Maksym Planeta <address@hidden>
Date: Sun Oct 7 19:51:09 2012 +0300
Fix typo.
* ext2fs/truncate.c (force_delayed_copies): Fix typo.
commit e0f9439bea0bc986c2fb008519a4c010fc8a5ae5
Author: Maksym Planeta <address@hidden>
Date: Sun Oct 7 15:46:05 2012 +0300
Make ext2fs work with partitions bigger than 2Gb.
This commit is port of large store patch from debian repository.
Additionally this patch was changed to use new libpager interface.
The main idea behind this patch is to use special disk cache up to 2Gb size
instead of mapping the whole partition. This cache is used to map only those
pages of partitions that are used at the moment or were used recently. This
allows to map only up to 2Gb of memory, although partition could be much
bigger.
This commit does not bring support for large files, only for partitions!
* ext2fs/balloc.c (ext2_free_blocks): Function changed to access disk blocks
in a new way.
(ext2_new_block): Likewise.
(ext2_count_free_blocks): Likewise.
(ext2_check_blocks_bitmap): Likewise.
* ext2fs/ext2fs.c (main): As now not the whole image is being mapped, but
there is disk cache is being used, appropriately were changed some names of
functions and variables.
(diskfs_reload_global_state): Likewise.
* ext2fs/ext2fs.h (DISK_CACHE_BLOCKS): New macro. Sets size of disk cache.
(DC_INCORE, DC_UNTOUCHED, DC_FIXED, DC_DONT_REUSE, DC_NO_BLOCK): New macros,
used for keeping status of block in disk cache.
(DISK_CACHE_LAST_READ_XOR) [NDEBUG]: New macro for debugging purposes.
(struct disk_cache_info): Structure that keeps information about block in
disk cache.
(bptr_index): New macro for converting address in memory to index of block
in disk cache.
(boffs_ptr): Macro has been converted to function to take into account
presence of disk cache.
(bptr_offs): Likewise.
(dino -> dino_ref): Function has been renamed and changed to take into
account presence of disk cache.
(dino_deref): New function that releases dinode.
(record_global_poke): Function changed to access disk blocks in a new way.
(sync_global_ptr): Likewise.
(record_indir_poke): Likewise.
(sync_global): Add debugging macro.
* ext2fs/getblk.c (ext2_alloc_block): Function changed to access disk block
in a new way.
(block_getblk): Likewise.
* ext2fs/hyper.c (get_hypermetadata): Function has been changed because,
to read sblock on its own.
(map_hypermetadata): New function that sets sblock and group_desc_image as
pointers in disk cache.
(diskfs_set_hypermetadata): Increase reference count in disk cache for
sblock, when it is poked.
(diskfs_readonly_changed): Update function to use disk cache.
* ext2fs/ialloc.c (diskfs_free_node): Function changed to access disk blocks
in a new way.
(ext2_alloc_inode): Likewise.
(ext2_count_free_inodes): Likewise.
(ext2_check_inodes_bitmap): Likewise.
* ext2fs/inode.c (diskfs_cached_lookup): Use disk cache instead of disk
image.
(read_node): Function changed to access disk blocks using interface. Also
debugging macro has been added.
(write_node): Likewise.
(diskfs_set_translator): Function changed to access disk blocks using
interface.
(diskfs_set_translator): Likewise.
* ext2fs/pager.c (disk_image): Obsolete variable removed.
(STAT_ADD): New macro.
(FREE_PAGE_BUFS): Remove obsolete macro.
(get_page_buf -> get_buf): Function renamed and changed to return buffer of
asked size.
(free_page_buf -> free_buf): Function renamed and changed.
(file_pager_read_page -> file_pager_read): Function renamed and changed to
process several pages at once.
(file_pager_write_page -> file_pager_write): Likewise.
(disk_pager_read_page -> disk_pager_read): Likewise.
(disk_pager_write_page -> disk_pager_write): Likewise.
(pending_blocks_write): Function has been changed.
(ext2_pager_notify_evict): New function.
(pager_read_page -> ext2_read_pages): Function has been renamed and changed
to support new libpager interface.
(pager_write_page -> ext2_write_pages): Likewise.
(pager_unlock_page -> ext2_unlock_pages): Likewise.
(pager_report_extent -> ext2_report_extent): Likewise.
(pager_clear_user_data -> ext2_clear_user_data): Likewise.
(pager_dropweak): Remove obsolete function.
(ext2_ops): New variable.
(disk_cache): Likewise.
(disk_cache_size): Likewise.
(disk_cache_blocks): Likewise.
(disk_cache_bptr): Likewise.
(disk_cache_info): Likewise.
(disk_cache_hint): Likewise.
(disk_cache_lock): Likewise.
(disk_cache_reassociation): Likewise.
(disk_cache_init): New function.
(disk_cache_return_unused): Likewise.
(disk_cache_block_ref_no_block): Likewise.
(disk_cache_block_is_cached): Likewise.
(disk_cache_block_ref): Likewise.
(disk_cache_block_ref_hint_no_block): Likewise.
(disk_cache_block_ref_ptr): Likewise.
(disk_cache_block_deref): Likewise.
(disk_cache_block_is_ref): Likewise.
(create_disk_pager): Function has been changed to support both new
interfaces of libpager and disk cache.
(diskfs_get_filemap): Function has been changed to support new interface of
libpager.
* ext2fs/pokel.c (pokel_add): Function changed to take into account new way
of working with disk blocks.
(__pokel_exec): Likewise.
* ext2fs/truncate.c (trunc_indirect): Function changed to take into account
both new way of working with disk blocks and changes in libpager.
(force_delayed_copies): Function changed to support new libpager interface.
commit 4e0c82cb1ff18f7cb97eacc39aa29abdeecd5599
Author: Maksym Planeta <address@hidden>
Date: Sat Oct 6 20:18:30 2012 +0300
Cast type to off_t in macros where overflow is possible.
* ext2fs/ext2fs.h (trunc_block): Macro is changed.
(rount_block): Likewise.
(boffs): Likewise.
commit b9e9b82d7c56b1872a8885439f61d0a0842dce4c
Author: Maksym Planeta <address@hidden>
Date: Sat Oct 6 19:46:25 2012 +0300
Reset sblock when reload global state.
* ext2fs/ext2fs.c (diskfs_reload_global_state): Function changed.
commit 1ccf6df2dff11a765707b202bac7aaaacba80ba3
Author: Maksym Planeta <address@hidden>
Date: Sat Oct 6 19:25:07 2012 +0300
Replace deprecated functions bzero and bcopy for modern ones.
Not all functions are replaced, but rest of them will be replaced in
future commits. This is done so, because these function are involved in
other changes and making intermediate changes just bring unnecessary
complication.
* ext2fs/ext2fs.c (parse_opt): Function changed.
* ext2fs/getblk.c (ext2_alloc_block): Likewise.
* ext2fs/inode.c (diskfs_set_translator): Likewise.
(write_symlink): Likewise.
(read_symlink): Likewise.
commit 026d26a02eeee7378a1e6a289399eaf676edb397
Author: Maksym Planeta <address@hidden>
Date: Sat Oct 6 14:33:28 2012 +0300
Fix printf format in debugging macros.
This commit removes compiling warnings when debug macros are enabled.
* ext2fs/getblk.c (ext2_discard_prealloc): Fix format.
* ext2fs/ialloc.c (diskfs_free_node): Likewise.
* ext2fs/inode.c (write_node): Likewise.
* ext2fs/pager.c (pending_blocks_write): Likewise.
(file_pager_write_page): Likewise.
(disk_pager_write_page): Likewise.
(diskfs_grow): Likewise.
commit bed0cb72d333e63050350165ae29bf3b7f9b1a1d
Author: Maksym Planeta <address@hidden>
Date: Fri Oct 5 20:08:50 2012 +0300
Fix bug with operators priority.
*ext2fs/balloc.c (ext2_new_block): Function changed.
commit 3fb8db3ee9f5bf97c597a09af75a344e5c9b8d01
Author: Maksym Planeta <address@hidden>
Date: Fri Oct 5 20:07:29 2012 +0300
Fix bugs with initialization of variables, created on stack.
* ext2fs/balloc.c (ext2_new_block): Function changed.
* ext2fs/ialloc.c (ext2_alloc_inode): Function changed.
commit c62283c1d680158a92f549231539ef6134b4ab65
Author: Maksym Planeta <address@hidden>
Date: Fri Oct 5 13:44:00 2012 +0300
Move storeio to new pager interface.
* storeio/pager.c (struct user_pager_info): New structure.
(store_read_pages): Function renamed. Old name was pager_read_page.
(store_write_pages): Function renamed. Old name was pager_write_page.
(store_unlock_pages): Function renamed. Old name was pager_unlock_page.
(store_report_extent): Function renamed. Old name was pager_report_extent.
(store_clear_user_data): Function renamed. Old name was
pager_clear_user_data.
(pager_dropweak): Delete obsolete function.
(store_ops): New structure.
(dev_get_memory_object): Function changed.
commit a0b880ff37da78227054e99333e488056d2730c2
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 21:54:08 2012 +0300
Move console translator to new pager interface.
This implementation transfers data by one page and uses inline functions.
* console/pager.c (cons_read_pages): Function renamed. Old name was
pager_read_page.
(cons_write_pages): Function renamed. Old name was pager_write_page.
(cons_report_extent): Function renamed. Old name was pager_report_extent.
(cons_clear_user_data): Function renamed. Old name was
pager_clear_user_data.
(pager_dropweak): Delete obsolete function.
(pager_unlock_page): Likewise.
(console_ops): New structure.
(user_pager_create): Function changed.
commit d1f21c6a21577c953e59fc06ac4e9e59ac3dd275
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 19:21:34 2012 +0300
Move isofs to new pager interface.
* iso/pager.c (iso_read_pages): Function renamed. Old name was
pager_read_page.
(iso_unlock_pages): Function renamed. Old name was pager_unlock_page.
(iso_report_extent): Function renamed. Old name was pager_report_extent.
(iso_clear_user_data): Function renamed. Old name was pager_clear_user_data.
(pager_dropweak): Delete obsolete function.
(pager_write_page): Likewise.
(iso_ops): New structure.
(create_disk_pager): Function changed.
(diskfs_get_filemap): Likewise.
commit 5a3464fd93893390ae52957f5161649b16d72f4f
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 18:49:15 2012 +0300
Move fatfs to new pager interface.
This implementation transfers data by one page and uses nested functions.
* fatfs/pager.c (fat_read_page): Function renamed. Old name was
pager_read_page.
(fat_write_page): Function renamed. Old name was pager_write_page.
(fat_unlock_page): Function renamed. Old name was pager_unlock_page.
(fat_report_extent): Function renamed. Old name was pager_report_extent.
(fat_clear_user_data): Function renamed. Old name was pager_clear_user_data.
(pager_dropweak): Delete obsolete function.
(fat_read_pages): New function.
(fat_write_pages): New function.
(fat_unlock_pages): New function.
(fat_ops): New structure.
(create_fat_pager): Function changed.
(diskfs_get_filemap): Likewise.
commit 5fc84d661db085a1efa187c8860f69ead1f13f1f
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 18:22:26 2012 +0300
Move UFS to new pager interface.
This implementation transfers data by one page and uses nested functions.
* ufs/pager.c (ufs_read_page): Function renamed. Old name was
pager_read_page.
(ufs_write_page): Function renamed. Old name was pager_write_page.
(ufs_unlock_page): Function renamed. Old name was pager_unlock_page.
(ufs_report_extent): Function renamed. Old name was pager_report_extent.
(ufs_clear_user_data): Function renamed. Old name was pager_clear_user_data.
(pager_dropweak): Delete obsolete function.
(ufs_read_pages): New function.
(ufs_write_pages): New function.
(ufs_unlock_pages): New function.
(ufs_ops): New structure.
(create_disk_pager): Function changed.
(diskfs_get_filemap): Likewise.
* ufs/sizes.c (offer_data): Function changed.
commit dbfb70fd0c6fd8e008a369fcc6604bae9e026129
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 14:45:04 2012 +0300
Move tmpfs to new libpager interface.
* tmpfs/pager-stubs.c: Remove obsolete file.
* tmpfs/Makefile (SRCS): Update variable.
commit a5b7f2c2ac9c23dadf66606c21a0c79736bd204c
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 14:41:45 2012 +0300
Remove warnings regarding type casting.
* mach-defpager/default_pager.c (pager_move_page): Function changed.
(default_write): Likewise.
* mach-defpager/file_io.h (page_write_file_direct): Prototype changed.
* mach-defpager/setup.c (page_write_file_direct): Function changed.
commit e58c8259a98b31b4fec6d31cb8308c4abad2b367
Author: Maksym Planeta <address@hidden>
Date: Wed Oct 3 14:38:52 2012 +0300
Make mach-defpager process multipage requests in m_o_data_request.
* mach-defpager/default_pager.c (pager_release_offset): Function accepts
size
as new parameter.
(struct block): New structure for internal use in function default_read.
(struct send_range_parameters): Likewise.
(get_block_address): New function for internal use in function default_read.
(is_range_extendable): Likewise.
(upload_range): Likewise.
(get_data_for_range): Likewise.
(apply_to_ranges): Likewise.
(send_range): Likewise.
(default_read): Function changed.
(seqnos_memory_object_data_request): Likewise.
(start_default_pager_thread): Likewise.
(default_pager): Likewise.
(max_dpt_buffer_size): New variable.
* mach-defpager/default_pager.h (page_aligned): New function that has been
moved out of mach-defpager/setup.c.
* mach-defpager/setup.c (page_aligned): Function removed.
(page_read_file_direct): Function changed to be able to work with buffers,
not only of size vm_page_size.
-----------------------------------------------------------------------
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, mplaneta/gsoc12/review, created. hurd-release-0-2-3383-g46b7cc5,
Maksym Planeta <=