[LTP] [PATCH v2] kernel/device-drivers/zram/zram01.sh : don't fill from /dev/zero
Martin Doucha
mdoucha@suse.cz
Fri Sep 8 11:21:47 CEST 2023
On 08. 09. 23 0:29, Ian Wienand wrote:
> I don't think this is the correct way to deal with it. I think that
> you're probably referring to earlier mail where there was a suggestion
> that this was a ppc64/vfat specific issue [1]. I was seeing this in a
> different context, and I believe the zeros are explained by no data
> actually being in the compressed buffers, as explained at [2]. Hence
> I think we need to come to some conclusion on actually writing data
> during testing.
Well then, did you see the failure on any other filesystem than vfat?
I've read this whole e-mail thread again but there is no mention of
which filesystems trigger this issue.
Alternatively, if kernel developers say that the caching behavior in
zram is correct, then your v1 patch (adding sync) is the right solution.
--
Martin Doucha mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list