public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* Any method to limit page cache usage in test cases?
@ 2018-11-14  0:31 Qu Wenruo
  2018-11-14  6:47 ` Nikolay Borisov
  2018-11-15  5:31 ` Dave Chinner
  0 siblings, 2 replies; 7+ messages in thread
From: Qu Wenruo @ 2018-11-14  0:31 UTC (permalink / raw)
  To: fstests


[-- Attachment #1.1: Type: text/plain, Size: 409 bytes --]

Hi,

Is there any (easy) method for a fstests test case to limit the page
cache usage?

I triggered btrfs/139 failure with 2G vRAM VM, and located the root
cause of the problem.

However it's only really reproducible for small ram VM, since it could
trigger dirty page writeback due to memory pressure.

So I'm wondering if we could do such thing even for large RAM test machine.

Thanks,
Qu


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-15 15:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-14  0:31 Any method to limit page cache usage in test cases? Qu Wenruo
2018-11-14  6:47 ` Nikolay Borisov
2018-11-14  7:00   ` Qu Wenruo
2018-11-14  7:17     ` Qu Wenruo
2018-11-14  7:21       ` Nikolay Borisov
2018-11-14  7:32         ` Qu Wenruo
2018-11-15  5:31 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox