]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6eb4ca4a1ca18cfe5703be143f6911c7621d7e35
treeef64a41ca29ee811ca8b9f1a686a9193ab24ee8c
parent7a06c36f6d6dce60c06809065b45ccc78e6841d0
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