[PATCH] add pread operation to vfs layer
Cole, Timothy D.
t.cole at ngc.com
Tue Dec 16 23:27:47 GMT 2003
> Would it be feasible to cache the effective and actual file
> offsets for a
> file descriptor, to reduce the number of seeks needed for sequential
Thinking about it, those offsets would likely have to be stored in the
files_struct -- that's okay provided an fd with a files_struct attached can
only ever be read/written/lsought via that single files_struct.
Is that a safe assumption to make, though?
More information about the samba-technical