Re: [PATCH V6 3/3] efi: Distinguish between "remaining space" andactually used space

From: joeyli
Date: Wed Apr 24 2013 - 09:25:33 EST


æ äï2013-04-24 æ 11:57 +0000ïMatthew Garrett æåï
> On Wed, 2013-04-24 at 18:59 +0800, joeyli wrote:
>
> > Then why we don't just remove the "remaining_size" condition but only
> > monitor the active_size should not larger then 1/2 storage_size?
>
> If we calculate active_size as using more than 50% of the storage space
> but remaining_size says we still have more than 50% available, we should
> trust remaining_size instead of active_size.
>
> --
> Matthew Garrett | mjg59@xxxxxxxxxxxxx

That makes sense because BIOS base on remaining_size to trigger garbage
collection.

Thanks for your clarification!

Joey Lee


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