Re: testing stable pages being modified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Zach Brown (2013-05-30 18:36:10)
> 'stable' pages have always been a bit of a fiction.  It's easy to
> intentionally modify stable pages under io with some help from page
> references that ignore mappings and page state.
> 
> Here's little test that uses O_DIRECT to get the pinned aio ring pages
> under IO and then has event completion stores modify them while they're
> in flight.
> 
> It's a nice quick way to test the consequences of stable pages being
> modified.  It can be used to burp out ratelimited csum failure kernel
> messages with btrfs, for example.

Changing O_DIRECT in flight has always been a deep dark corner case, and
crc errors are the expected result.  Have you found anyone doing this in
real life?

I do like the small test program though, we should extend it into a test
to make sure crcs are really crcing.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux