* Re: Re: triggering do_writepages
@ 2002-11-20 8:16 Kapish K
2002-11-20 10:20 ` girish
0 siblings, 1 reply; 2+ messages in thread
From: Kapish K @ 2002-11-20 8:16 UTC (permalink / raw)
To: Bryan Henderson, girish; +Cc: linux-fsdevel
Hello,
Thanks for your inputs. I do understand
that wrietpage is triggered via the swap or
bflush paths of syncing or wrting back to
disk, from looking at the code. No issues
there. But, the thing I observed, for my
situation, where I want to insert some stub
in do-writepages path and want to test its
triggering, I do not find it getting
triggered.
The situation being that I want to invoke
some code in do_writepages path for a
particular filesystem ( identified by the
super_block, say ). In that case, when I
issue writes on the filesystem, I do see the
commit/prepare write path activated ASAP as
it it should be. But on a explicit sync on
the filesystem, I don't see writepages for
that filesystem activated. And there lies
the confusion.
Again, have I missed something obvious out
here?
Thanks, in advance
---- On Tue, 19 Nov 2002, Bryan Henderson
(hbryan@us.ibm.com) wrote:
>
> writepage also runs when the system
synchronizes a file's cache in any of
> numerous ways (fsync() system call, sync()
system call, filesystem driver
> calls f_datasync() kernel service, ...).
>
>
>
>
>
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: triggering do_writepages
2002-11-20 8:16 Re: triggering do_writepages Kapish K
@ 2002-11-20 10:20 ` girish
0 siblings, 0 replies; 2+ messages in thread
From: girish @ 2002-11-20 10:20 UTC (permalink / raw)
To: kapish, Bryan Henderson; +Cc: linux-fsdevel
> The situation being that I want to invoke
> some code in do_writepages path for a
> particular filesystem ( identified by the
> super_block, say ). In that case, when I
> issue writes on the filesystem, I do see the
> commit/prepare write path activated ASAP as
> it it should be. But on a explicit sync on
> the filesystem, I don't see writepages for
> that filesystem activated.
sys_sync->sync_fdev->sync_inodes>__sync_one->filemap_fdatasync->writepage if
"drty pages are avilable"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-20 10:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20 8:16 Re: triggering do_writepages Kapish K
2002-11-20 10:20 ` girish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).