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

Re: New jffs2 files stay uncompressed?




joakim.tjernlund@xxxxxxx.se said:
>  Yes, is the above test the only reliable test to test for a
> CLEANMARKER? 

It's not even _a_ reliable test. Let's guarantee that CLEANMARKER nodes are
accounted as dirty space when there are other data in the block, so we can
just check for used_size == 0 like we did before.

>  Another thing: Would it not be safe to skip CRC checks on the data in
> inodes that don't have the ACCURATE bit set in scan.c?

Er, we do, don't we?

>  Yes, HW that dont support that could have the ACCURATE bit removed
> when the CLEANMARKER is first written to an EB. That would only
> disable the optmization, would it not?

Yes. That should be fine.

--
dwmw2



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com