Re: [OpenAFS] Re: openafs and linux 2.6.19-rc1 [patch]

2006-10-06 Thread chas williams - CONTRACTOR
In message [EMAIL PROTECTED],Alex Romosan writes: sorry to follow up on my own post, but the above patch works only for reads. for writes one also needs to add .aio_write = generic_file_aio_write, below .aio_read above. it needs configure tests for those of us with antique 2.6.18 kernels. try

[OpenAFS] Re: openafs and linux 2.6.19-rc1 [patch]

2006-10-06 Thread Alex Romosan
chas williams - CONTRACTOR [EMAIL PROTECTED] writes: @@ -550,6 +558,10 @@ .read =generic_read_dir, #endif .readdir = afs_linux_readdir, +#ifdef GENERIC_FILE_AIO_READ + .aio_read =generic_file_aio_read, + .aio_write = generic_file_aio_write, +#endif #ifdef

[OpenAFS] Re: openafs and linux 2.6.19-rc1 [patch]

2006-10-06 Thread chas williams - CONTRACTOR
In message [EMAIL PROTECTED],Alex Romosan writes: i think this chunk (in src/afs/LINUX/osi_vnodeops.c) ended in the wrong place. the .aio_read/write were added to afs_dir_fops but they should have been added to afs_file_fops instead (the next structure below). at least that's what i had in my

[OpenAFS] Re: openafs and linux 2.6.19-rc1 [patch]

2006-10-05 Thread Alex Romosan
Alex Romosan [EMAIL PROTECTED] writes: the new linux kernel has lost a couple more functions which affect openafs (generic_file_read/write). the attached patch lets me use openafs with the above-mentioned kernel. it is generated against the debian package (which finally works on amd64, yeay)