lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A4C6EA4.9030108@monstr.eu>
Date:	Thu, 02 Jul 2009 10:24:04 +0200
From:	Michal Simek <monstr@...str.eu>
To:	linux-aio@...ck.org
CC:	Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: generic_file_aio_write on nfs

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@...str 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ