Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-11-18 | 1999-11-14 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | |
* dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER. | |||
1999-01-27 | 1999-01-27 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | |
* storeio.c (options): New option -c/--no-cache. (inhibit_cache): New variable. (parse_opt): Make -c set it. (trivfs_append_args): Report --no-cache if set. (check_open_hook): Pass inhibit_cache flag to dev_open. * dev.h (struct dev): New member `inhibit_cache'. (dev_open): Update decl. * dev.c (dev_open): Take new arg inhibit_cache, store in new dev. If set, don't initialize buf_offs, io_lock, pager, pager_lock. (dev_read, dev_write): If DEV->inhibit_cache is set, allow only whole-block i/o: EINVAL for non-whole-block attempts. * pager.c (dev_get_memory_object): If DEV->inhibit_cache is set, don't make our own pager; if store_map returns EOPNOTSUPP, so do we. | |||
1997-07-17 | (dev_get_memory_object): | Miles Bader | |
Add PROT arg. | |||
1996-09-23 | (struct dev, dev_read, dev_write): | Miles Bader | |
Use void * buffers. | |||
1996-09-08 | Initial checkin | Miles Bader | |