* How to produce dirty space
@ 2005-11-08 13:38 Bernhard Priewasser
2005-11-08 14:43 ` Artem B. Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Priewasser @ 2005-11-08 13:38 UTC (permalink / raw)
To: MTD mailing list
Hi all,
I want to generate some dirty space in a mounted JFFS2 for test
purposes. I tried to get the FS dirty for hours now... but I couldn't
compete against the erase_pending list. (BTW: how is kupdated set up?)
Maybe... I'm not the first one who wants to do some tests on a dirty FS,
perhaps there is some existing code... :-)
Thanks,
--
Bernhard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to produce dirty space
2005-11-08 13:38 How to produce dirty space Bernhard Priewasser
@ 2005-11-08 14:43 ` Artem B. Bityutskiy
2005-11-09 13:33 ` Bernhard Priewasser
0 siblings, 1 reply; 3+ messages in thread
From: Artem B. Bityutskiy @ 2005-11-08 14:43 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: MTD mailing list
Bernhard Priewasser wrote:
> Hi all,
>
> I want to generate some dirty space in a mounted JFFS2 for test
> purposes. I tried to get the FS dirty for hours now... but I couldn't
> compete against the erase_pending list. (BTW: how is kupdated set up?)
> Maybe... I'm not the first one who wants to do some tests on a dirty FS,
> perhaps there is some existing code... :-)
Create a file and make a small change in it. It is unlikely that the
corresponding eraseblock will be garbage collected soon, so you'll have
dirty space.
For the information when things are flushed see "/proc/sys/vm - the
virtual memory subsystem" at Documentation/filesystems/proc.txt.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to produce dirty space
2005-11-08 14:43 ` Artem B. Bityutskiy
@ 2005-11-09 13:33 ` Bernhard Priewasser
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Priewasser @ 2005-11-09 13:33 UTC (permalink / raw)
To: MTD mailing list
> For the information when things are flushed see "/proc/sys/vm - the
> virtual memory subsystem" at Documentation/filesystems/proc.txt.
Got it:
> [/proc/sys/vm/]dirty_writeback_centisecs
> ----------------------------------------
>
> The pdflush writeback daemons will periodically wake up and write
> `old' data out to disk. This tunable expresses the interval between
> those wakeups, in 100'ths of a second.
Thanks,
--
Bernhard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-09 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 13:38 How to produce dirty space Bernhard Priewasser
2005-11-08 14:43 ` Artem B. Bityutskiy
2005-11-09 13:33 ` Bernhard Priewasser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox