On Wed, Feb 28, 2018 at 09:02:42AM +0800, Pony Cheng wrote: > Hi all: > When I read make-bcache.c, I found the following source code: > sb.first_bucket = (23 / sb.bucket_size) + 1; > this makes me so confused, why we use 23/sb_bucket_size, the > bucket_size bigger than 23, is that true? it's just reserving space for the superblock, in an extremely convoluted way - if bucket size is big enough, we only need to reserve a single bucket, if it's smaller... you get the idea. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html