| To: | Bhagi rathi <jahnu77@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Sun, 09 Sep 2007 16:37:37 -0500 |
| Cc: | Christoph Hellwig <hch@xxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <cc7060690709091243y4caab0fat85f189d7ce4d6b31@xxxxxxxxxxxxxx> |
| References: | <20070909154220.GC19986@xxxxxx> <cc7060690709091243y4caab0fat85f189d7ce4d6b31@xxxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Bhagi rathi |
|---|---|
| Next by Date: | Re: Not able to register, Eric Sandeen |
| Previous by Thread: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Bhagi rathi |
| Next by Thread: | Re: [PATCH] remove dead SYNC_BDFLUSH case in xfs_sync_inodes, Bhagi rathi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |