[Libsysio-commit] strided-io: libsysio/include inode.h
Brought to you by:
lward
|
From: Lee W. <lw...@us...> - 2004-01-27 19:43:04
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3683/include Modified Files: Tag: strided-io inode.h Log Message: In mount.c, should not send the already filled in inode operations to I_INIT. It does a memcpy which fails on certain machines. Didn't want to use the, safer, memmove function. Just use a temporary on the stack and allow the copy to proceed normally. In ioctx.c, _sysio_ioctx_complete added a function ot enter a `fast' IO context to the asynch requests queue. Modified _sysio_ioctx_new and the code that reads the automount file in mount.c to use it. This fixed a bug where the automount code fast IO context was being removed from a list it was not on. Index: inode.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v retrieving revision 1.13.6.3 retrieving revision 1.13.6.4 diff -u -w -b -B -p -r1.13.6.3 -r1.13.6.4 --- inode.h 26 Jan 2004 07:24:29 -0000 1.13.6.3 +++ inode.h 27 Jan 2004 19:41:59 -0000 1.13.6.4 @@ -450,6 +450,7 @@ extern int _sysio_namei(struct pnode *pn struct pnode **pnop); extern int _sysio_p_chdir(struct pnode *pno); extern int _sysio_ioctx_init(void); +extern void _sysio_ioctx_enter(struct ioctx *ioctx); extern struct ioctx *_sysio_ioctx_new(struct inode *ino, const struct iovec *iov, size_t iovlen, |