There are a few reasons for caching the value during init rather than querying it when needed:
* partition size won't be changing while the filesystem is mounted
* partition size is used quite a bit in the logfs filesystem implementation
* it's actually a bit expensive to compute from the partition table on devices where the partitions are not all the same size.

Basically, I'm making a computation/RAM trade-off since it is used quite often.