public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* generic_file_aio_write on nfs
@ 2009-07-02  8:24 Michal Simek
  2009-07-13 15:37 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2009-07-02  8:24 UTC (permalink / raw)
  To: linux-aio; +Cc: Linux Kernel list

Hi Benjamin,

I am doing LTP tests on Microblaze cpu and I am getting some faults.
I found that the problem is caused by generic_file_aio_write function.
I did quick patch with disable usage of generic_file_aio_write function and
use only write function which works. I haven't debug
generic_file_aio_write function.

I am running Linux with initramfs and LTP programs are run from nfs.

Have you ever met with this problem?

Thanks,
Michal

[monstr@monstr linux-monstr.eu-commit]$ git diff fs/read_write.c
diff --git a/fs/read_write.c b/fs/read_write.c
index 400fe81..e639098 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -642,7 +642,8 @@ static ssize_t do_readv_writev(int type, struct file
*file,
                fnv = file->f_op->aio_read;
        } else {
                fn = (io_fn_t)file->f_op->write;
-               fnv = file->f_op->aio_write;
+               //fnv = file->f_op->aio_write;
+               fnv = 0;
        }
 
        if (fnv)

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-13 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02  8:24 generic_file_aio_write on nfs Michal Simek
2009-07-13 15:37 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox