[PATCH 1/3] Filesystem: PR1398: Fix lseek() mechanic
Chris Johns
chrisj at rtems.org
Tue May 8 06:43:59 UTC 2012
On 8/05/12 3:34 PM, Sebastian Huber wrote:
>
> Is the complex rtems_rfs_rtems_file_lseek() really necessary? What
> happens if we simply change the iop->offset? Will the read and write
> handler cope with that?
>
I do not know. The current file seek code plays with buffers. I am not
sure what effect this may have if the code was removed. I can see moving
this code would make the seek cheaper and if someone is seeking with no
I/O there is a cost.
Is there another issue I am missing ?
Chris
More information about the devel
mailing list