summaryrefslogtreecommitdiff
path: root/storeio
AgeCommit message (Collapse)Author
1999-05-01.Roland McGrath
1999-05-011999-04-30 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* storeio.c (trivfs_modify_stat): Do not assume that we have the device open in the caculation of st_mode. If the device is not open, only return S_IFCHR if inhibit_cache is set.
1999-02-01.Roland McGrath
1999-02-011999-01-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (trivfs_modify_stat): Return S_IFCHR if block size is 1.
1999-02-01.Roland McGrath
1999-02-011999-01-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (trivfs_modify_stat): Return S_IFCHR iff inhibit_cache set, otherwsie S_IFBLK. For a block-addressed device, S_IFCHR means "must do whole-block i/o".
1999-01-28.Roland McGrath
1999-01-281999-01-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io.c (trivfs_S_file_syncfs): Fix inverted test. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
1999-01-27.Roland McGrath
1999-01-271999-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.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1998-07-20.Roland McGrath
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (main): Fix return type to int, and use return.
1997-08-20Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* pager.c (dev_get_memory_object): Deal with errors from pager_create properly.
1997-08-20Wed Aug 20 14:07:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* pager.c (service_paging_requests): New args for ports_manage_port_operations_multithread. * storeio.c (main): Likewise.
1997-07-23.Miles Bader
1997-07-23(trivfs_S_io_select):Miles Bader
Don't bother returning EBADF. (trivfs_S_io_readable, trivfs_S_io_read, trivfs_S_io_map): Return EBADF instead of EINVAL.
1997-07-22.Miles Bader
1997-07-22(trivfs_S_io_read):Miles Bader
Return EINVAL instead of EBADF. (trivfs_S_io_map): Return EINVAL if CRED cannot be read or written.
1997-07-21.Miles Bader
1997-07-21(HURDLIBS):Miles Bader
Add iohelp.
1997-07-17.Miles Bader
1997-07-17(dev_get_memory_object):Miles Bader
Add PROT arg. Use store_map.
1997-07-17(trivfs_S_io_map):Miles Bader
Pass PROT argument to dev_get_memory_object.
1997-07-17(dev_get_memory_object):Miles Bader
Add PROT arg.
1997-07-16.Miles Bader
1997-07-16(pager_read_page): Initialize READ to 0.Miles Bader
1997-07-16.Miles Bader
1997-07-16(trivfs_S_io_map):Miles Bader
Make sure there are enough references to MEMOBJ for both read & write ports.
1997-07-16(dev_get_memory_object): Implement correctly.Miles Bader
(dev_stop_paging): Work entirely by flushing user pagers; don't kill pager. (pager_clear_user_data): Zero our pointer to the pager.
1997-02-20.Miles Bader
1997-02-20(parse_opt):Miles Bader
New function (was nested in main). (doc): Make an initialized array. (fsys_port_class, root_port_class, port_bucket, trivfs_protid_portclasses, trivfs_protid_nportclasses, trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Variables removed. (argp, argp_kids): New variables (were nested in main). (main): Don't set or use port class/bucket variables, let trivfs_startup do it. Add FSYS variable. (trivfs_goaway): Get ROOT_PORT_CLASS from FSYS.
1996-11-18Fri Nov 15 17:54:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* storeio.c (trivfs_check_open_hook): New arg syntax. (check_open_hook): Likewise.
1996-10-24.Miles Bader
1996-10-24(main):Miles Bader
Use elements of type `struct argp_child' for KIDS.
1996-10-08.Miles Bader
1996-10-08(trivfs_S_file_get_storage_info):Miles Bader
If necessary to enforce security, make a copy of STORE and inactivate it before returning.
1996-09-26.Miles Bader
1996-09-26(trivfs_S_file_check_access):Miles Bader
Function removed (trivfs default is now sufficient).
1996-09-24.Miles Bader
1996-09-24(check_open_hook):Miles Bader
Return EROFS if O_WRITE on a readonly device. (trivfs_S_file_check_access): New function.
1996-09-23.Miles Bader
1996-09-23(trivfs_append_args):Miles Bader
Make ARGZ_LEN of type `size_t *'. Narrow scope of BUF. <argz.h>: New include.
1996-09-23.Miles Bader
1996-09-23(main):Miles Bader
Use STORE_PARAMS variable to get result from parsing STORE_ARGP. (trivfs_append_args): New function.
1996-09-23(pager_read_page):Miles Bader
Cast BUF into void ** for dev_read.
1996-09-23(open_read, open_write):Miles Bader
Use void * buffers.
1996-09-23(trivfs_S_io_read, trivfs_S_io_write):Miles Bader
Use void * buffers.
1996-09-23(struct dev, dev_read, dev_write):Miles Bader
Use void * buffers.
1996-09-23(dev_open):Miles Bader
Remove CLASSES argument to store_parsed_open. (dev_buf_fill, dev_read, dev_write): Use void * buffers.