mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeremiah Mahler <jmmahler@gmail.com>
To: "Theodore Ts'o" <tytso@mit.edu>, linux-kernel@vger.kernel.org
Subject: Re: [BUG, bisect] hang when copying large file to disc
Date: Sun, 1 Feb 2015 11:30:13 -0800	[thread overview]
Message-ID: <20150201193013.GA1306@hudson.localdomain> (raw)
In-Reply-To: <20150201020230.GA3070@thunk.org>

Ted,

On Sat, Jan 31, 2015 at 09:02:30PM -0500, Theodore Ts'o wrote:
> On Fri, Jan 30, 2015 at 07:40:51PM -0800, Jeremiah Mahler wrote:
> > 
[...]
> 
> Thanks for the bug report.  I was able to reproduce the problem, and
> found the problem.  Unfortunately I accidentally introduce this in my
> most recent patchset.  I'll fix it up, but here is the patch until I
> get the a new version pushed out.
> 
> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
> index 82c2984..0046861 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -1192,9 +1192,9 @@ void __mark_inode_dirty(struct inode *inode, int flags)
>  
>  		trace_writeback_dirty_inode(inode, flags);
>  	}
> -	dirtytime = flags & I_DIRTY_TIME;
>  	if (flags & I_DIRTY_INODE)
>  		flags &= ~I_DIRTY_TIME;
> +	dirtytime = flags & I_DIRTY_TIME;
>  
>  	/*
>  	 * Paired with smp_mb() in __writeback_single_inode() for the
> 
> 	   	       		   			      	  - Ted

That solved the problem.  Thanks for the quick fix.

-- 
- Jeremiah Mahler

      reply	other threads:[~2015-02-01 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31  3:40 Jeremiah Mahler
2015-02-01  2:02 ` Theodore Ts'o
2015-02-01 19:30   ` Jeremiah Mahler [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=20150201193013.GA1306@hudson.localdomain \
    --to=jmmahler@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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

all inboxes | Powered by JetHome®