OSDN Git Service

bcache: add code comments for bset.c
authorColy Li <colyli@suse.de>
Thu, 9 Aug 2018 07:48:48 +0000 (15:48 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Aug 2018 14:21:12 +0000 (08:21 -0600)
commitb467a6ac0b4bf57ec8c2329212e8a8a0231a2ef2
treeef64a41ca29ee811ca8b9f1a686a9193ab24ee8c
parent0cba2e71111e4bd156e67086de3484c7b907a4fc
bcache: add code comments for bset.c

This patch tries to add code comments in bset.c, to make some
tricky code and designment to be more comprehensible. Most information
of this patch comes from the discussion between Kent and I, he
offers very informative details. If there is any mistake
of the idea behind the code, no doubt that's from me misrepresentation.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bset.c