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-prev] [day] [month] [year] [list]
Date:	Fri, 05 Jan 2007 11:41:10 +0100
From:	Guillaume Chazarain <guichaz@...oo.fr>
To:	Andrew Morton <akpm@...l.org>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] Handle error in sync_sb_inodes()

Guillaume Chazarain a écrit :
> Still no luck :-(

First, sorry for the double posting.

The mapping flag is cleared by this call trace:

do_sync(1)
sync_inodes(1)
__sync_inodes(1)
sync_inodes_sb(sb, 1)
sync_sb_inodes(sb, WB_SYNC_ALL)
__writeback_single_inode(inode, WB_SYNC_ALL)
__sync_single_inode(inode, WB_SYNC_ALL)
filemap_fdatawait(mapping)
wait_on_page_writeback_range(mapping)
test_and_clear(...)

So, I can't see any solution other than:
 - asking wait_on_page_writeback_range(mapping) to
leave the flag as is
               or
 - adding a mapping_set_error() after one of the call
in the trace.

Regards.

-- 
Guillaume

-
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