> > Or even better, has anyone got AIO and XFS working already?
>
> Of course it's possible. But it's not trivial. I'd suggest you wait
> for aio getting fully implemented in 2.5, you can be sure
> we'll adds supporti
> for XFS there as soon as possible.
>
I think I kinda have XFS and AIO working now on 2.4.20pre8aa2, it is
failing on one test case, 5.t, which says that it does "- Write from a
mmap() of the same file. (5.t)".
All I have done so far is add the following 4 lines into
fs/xfs/linux/xfs_file.c:
.kvec_read = generic_file_kvec_read,
.kvec_write = generic_file_kvec_write,
.aio_read = generic_file_aio_read,
.aio_write = generic_file_aio_write,
In the file_operations struct after the fsync entry in there.
Anybody got any ideas why it would be failing on that specific test
case?
|