[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150824225356.GP28944@mtj.duckdns.org>
Date: Mon, 24 Aug 2015 18:53:56 -0400
From: Tejun Heo <tj@...nel.org>
To: Dave Chinner <david@...morbit.com>
Cc: Eryu Guan <eguan@...hat.com>, Jens Axboe <axboe@...nel.dk>,
Jan Kara <jack@...e.cz>, linux-kernel@...r.kernel.org,
xfs@....sgi.com, axboe@...com, Jan Kara <jack@...e.com>,
linux-fsdevel@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME
inodes
Hello, Dave.
On Tue, Aug 25, 2015 at 08:27:20AM +1000, Dave Chinner wrote:
> > I'm still a bit confused. What prevents the following from happening?
> >
> > 1. io completion of last dirty page of an inode and work item for
> > xfs_setfilesize() is queued.
> >
> > 2. inode removed from dirty list.
>
> The inode has already been removed from the dirty list - that
> happens at inode writeback submission time, not IO completion.
Ah, yeah, right, somehow was thinking requeue_io() was being called
from completion path. That's where I was confused.
Thanks.
--
tejun
--
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