summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 17:38:56 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 17:38:56 +0000
commit9f16e5beb1783685c1aa9d97cf6ac651efde6609 (patch)
tree82f865da99fc823e32f064e2f45955d66008a7d8 /ext2fs
parent66c846adbaafdc243581c8d276c6a931b124cc2d (diff)
.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ChangeLog96
-rw-r--r--ext2fs/msg.c7
2 files changed, 99 insertions, 4 deletions
diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog
index 016e7af4..d3768539 100644
--- a/ext2fs/ChangeLog
+++ b/ext2fs/ChangeLog
@@ -1,3 +1,99 @@
+Thu Sep 19 17:57:07 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * Makefile (HURDLIBS): Add store.
+
+Wed Sep 18 15:28:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * ext2fs.c (main): Remove CLASSES argument to store_parsed_open.
+ Use STORE_PARAMS variable to get result from parsing STORE_ARGP.
+ (diskfs_extra_version): Put `GNU Hurd' in here.
+
+Fri Sep 13 00:15:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * ext2fs.c (diskfs_append_args): Renamed from diskfs_get_options.
+ Don't initialize *ARGZ & *ARGZ_LEN anymore, or deallocate on errors.
+ Append store args too.
+
+ * pager.c (file_pager_read_page:do_pending_reads, pager_unlock_page,
+ pending_blocks_write, diskfs_grow, find_block): Use filesystem blocks,
+ not device blocks, in block<->offset/size conversions.
+
+ * Makefile (ext2fs ext2fs.static): Add ../libstore/libstore.a.
+
+1996-09-12 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * ext2fs.c (diskfs_disk_name): Renamed from STORE_NAME.
+
+Wed Sep 11 12:59:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * pager.c (create_disk_pager): Create PAGER_BUCKET. Pass in new
+ args to diskfs_pager_setup (renamed from disk_pager_setup).
+ (disk_image): New variable.
+ (service_paging_request): Function removed.
+ (diskfs_shutdown_pager): Use DISKFS_DISK_PAGER instead of DISK_PAGER.
+ * ext2fs.h (disk_image): New declaration.
+ (sync_global_ptr): Use DISKFS_DISK_PAGER instead of DISK_PAGER.
+ * ext2fs.c (main, diskfs_reload_global_state): Use
+ DISKFS_DISK_PAGER instead of DISK_PAGER.
+
+ * ext2fs.c (main): Change store_parsed_get_name to store_parsed_name.
+
+ * storeinfo.c (diskfs_S_file_get_storage_info): Clone STORE before
+ remapping it.
+
+Tue Sep 10 17:12:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * storeinfo.c (diskfs_S_file_get_storage_info): Rewritten to use
+ store functions.
+
+Mon Sep 9 11:10:11 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * ext2fs.c (main): Use store fields instead of diskfs variables.
+ (store, store_parsed, store_name): New variables.
+ (free_page_bufs, free_page_bufs_lock): Variables removed.
+ (get_page_buf, free_page_buf): Functions removed.
+ <argp.h>, <hurd/store.h>: New includes.
+ * ext2fs.h (store_parsed, store_name): New declarations.
+ (get_page_buf, free_page_buf): Declarations removed.
+ * hyper.c <hurd/store.h>: New include.
+ * pager.c <hurd/store.h>: New include.
+ (file_pager_write_pager): Make BUF void *.
+ (file_pager_read_page): Make BUF void **, NEW_BUF void *, and
+ LENGTH size_t. Pass &LENGTH to store_read, not LENGTH.
+ (pending_blocks_write): Make PAGE_BUF void *, and LENGTH size_t.
+ Check amount written, and return EIO if it's wrong.
+ (disk_pager_read_page): Make BUF void **, and LENGTH size_t.
+ Check amount read, and return EIO if it's wrong.
+ (disk_pager_write_page): Make BUF void *, and LENGTH size_t.
+ Check amount written, and return EIO if it's wrong.
+ (pager_read_page, pager_read_page): Convert BUF to a pointer when
+ calling work functions.
+ (struct pending_blocks): Make BUF void *.
+ (free_page_bufs, free_page_bufs_lock): New variables.
+ (get_page_buf, free_page_buf): New functions.
+
+Sun Sep 8 18:47:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * hyper.c (diskfs_readonly_changed): Use STORE->size.
+ (get_hypermetadata): Use STORE->size & STORE->block_size.
+
+ * pager.c (file_pager_read_page, pending_blocks_write,
+ disk_pager_read_page, disk_pager_read_page, disk_pager_write_page,
+ pager_report_extent, find_block, pager_unlock_page, diskfs_grow):
+ Use store_ operations instead of the old device ones, and some
+ store fields instead of globals.
+ * inode.c (read_disknode): Use STORE->log2_block_size instead of
+ LOG2_BLOCK_SIZE.
+ * ext2fs.h (store): New declaration.
+ * ext2fs.c (startup_parents): Use diskfs_store_startup_argp
+ instead of diskfs_std_device_startup_argp.
+ (startup_parents, startup_argp, runtime_parents, runtime_argp,
+ options, parse_opt, diskfs_get_options):
+ Define always, not just when EXT2FS_DEBUG is defined.
+ (parse_opt): Propagate our input to the first child argp.
+ (parse_opt, diskfs_get_options): Guard debug-specific bits with
+ #ifdef EXT2FS_DEBUG.
+
Thu Sep 12 16:41:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile (HURDLIBS): New variable.
diff --git a/ext2fs/msg.c b/ext2fs/msg.c
index ba295070..727d926d 100644
--- a/ext2fs/msg.c
+++ b/ext2fs/msg.c
@@ -49,8 +49,7 @@ void _ext2_error (const char * function, const char * fmt, ...)
vsprintf (error_buf, fmt, args);
va_end (args);
- fprintf (stderr, "ext2fs: %s: %s: %s\n",
- diskfs_device_arg, function, error_buf);
+ fprintf (stderr, "ext2fs: %s: %s: %s\n", diskfs_disk_name, function, error_buf);
mutex_unlock(&printf_lock);
}
@@ -66,7 +65,7 @@ void _ext2_panic (const char * function, const char * fmt, ...)
va_end (args);
fprintf(stderr, "ext2fs: %s: panic: %s: %s\n",
- diskfs_device_arg, function, error_buf);
+ diskfs_disk_name, function, error_buf);
mutex_unlock(&printf_lock);
@@ -83,7 +82,7 @@ void ext2_warning (const char * fmt, ...)
vsprintf (error_buf, fmt, args);
va_end (args);
- fprintf (stderr, "ext2fs: %s: warning: %s\n", diskfs_device_arg, error_buf);
+ fprintf (stderr, "ext2fs: %s: warning: %s\n", diskfs_disk_name, error_buf);
mutex_unlock(&printf_lock);
}