Re: Question about do_sync_read()

2008-02-12 Thread Benny Halevy
On Feb. 09, 2008, 10:52 +0200, "Manish Katiyar" <[EMAIL PROTECTED]> wrote: > Hi, > > In the implementation of file systems for 2.6 kernels, > generic_file_read is often replaced with do_sync_read(). In this > function we call "filp->f_op->aio_read" unconditionally. > where most of the times aio_re

Question about do_sync_read()

2008-02-09 Thread Manish Katiyar
Hi, In the implementation of file systems for 2.6 kernels, generic_file_read is often replaced with do_sync_read(). In this function we call "filp->f_op->aio_read" unconditionally. where most of the times aio_read is intialized as generic_file_aio_read(). Wouldn't it be a good idea to change the f