| To: | "Eric Sandeen" <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes |
| From: | "Bhagi rathi" <jahnu77@xxxxxxxxx> |
| Date: | Mon, 10 Sep 2007 10:24:59 +0530 |
| Cc: | "Christoph Hellwig" <hch@xxxxxx>, xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=I1bPf+HzlL5UNJbTCfWdB+ysdb8SXj4jhBpohbjC7zg=; b=hWX5x4kpcgJcvBeL74UXD+iEIpPTapL39N2WzW1KOAVzv4OM/QkQBM4zbKWDou5pwK7qk7iZtZ5zpmORuBhow7th8eSWSd0Q9Y/zVHUOFSho8HVkpC/rQXVQByHnfNtCHnjlphQx3qVNI/fbnlDhqXS/dS/Hh7aasl/AwvpBqdU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=abL5qvBFHGrtDtKBCP8CgSH1we47tRNXMroKyVNv1LDm4hk3DKIuvZ9Cj8dwxM5SIO9BBHb/j+esWKTibhoUqOSaBgvACegge2ozuhG7ZzR57VniGIwlk7jDiIfJwvQI2mvdadvazEj/ivLA72oE1X+Cr5z9wIK6FeD8BtfF+O0= |
| In-reply-to: | <46E467A1.7030400@sandeen.net> |
| References: | <20070909154220.GC19986@lst.de> <cc7060690709091243y4caab0fat85f189d7ce4d6b31@mail.gmail.com> <46E467A1.7030400@sandeen.net> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Ah, I see. It looks we don't use SYNC_BDFLUSH in xfs_sync_inodes. I believe
we don't
want to flush inodes from xfssync as inodes will be flushed by pdflush,
memory cleaner
threads. It looks like this code may be valid to other operating systems,
not for linux?
-Saradhi.
On 9/10/07, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
>
> Bhagi rathi wrote:
> > vfs_sync_worker calls with SYNC_BDFLUSH. xfssyncd can call this. I might
> be
> > missing something
> > if this is not used.
> >
> > Thanks,
> > -Saradhi.
>
>
> My eyes glazed over it too, but in xfs_syncsub as hch pointed out to me:
>
> if (flags & (SYNC_ATTR|SYNC_DELWRI)) {
> if (flags & SYNC_BDFLUSH)
> xfs_finish_reclaim_all(mp, 1);
> else
> error = xfs_sync_inodes(mp, flags, bypassed);
> }
>
> so it won't be called with that flag.
>
> -Eric
>
[[HTML alternate version deleted]]
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] log replay should not overwrite newer ondisk inodes, Lachlan McIlroy |
|---|---|
| Next by Date: | TAKE 970242 - remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Lachlan McIlroy |
| Previous by Thread: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Eric Sandeen |
| Next by Thread: | TAKE 970242 - remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Lachlan McIlroy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |