From: Guillaume Chazarain <guichaz@yahoo.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] Handle error in sync_sb_inodes()
Date: Fri, 05 Jan 2007 11:41:10 +0100 [thread overview]
Message-ID: <459E2B46.1090504@yahoo.fr> (raw)
In-Reply-To: <459D095E.4050306@yahoo.fr>
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
prev parent reply other threads:[~2007-01-05 10:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-29 21:53 [PATCH 2/2] Handle error in sync_sb_inodes() Guillaume Chazarain
2007-01-02 21:26 ` Andrew Morton
2007-01-03 22:30 ` Guillaume Chazarain
2007-01-03 22:56 ` Andrew Morton
2007-01-04 13:22 ` Guillaume Chazarain
2007-01-04 14:04 ` Guillaume Chazarain
2007-01-05 10:41 ` Guillaume Chazarain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=459E2B46.1090504@yahoo.fr \
--to=guichaz@yahoo.fr \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox