On Tue, Dec 10, 2019 at 07:57:51PM +0200, Nikolay Borisov wrote: > It's used only during initial block group reading to map physical > address of super block to a list of logical ones. Make it private to > block-group.c, add proper kernel doc and ensure it's exported only for > tests. Btw that's not proper kernel doc formatting, I've fixed it. > +/* /** > + * btrfs_rmap_block - Maps a particular @physical disk address to a list of @logical One line with brief description > + * addresses. Used primarily to exclude those portions of a block group that > + * contain super block copies. > + * > + * chunk_start - Logical address of block group @argument: description > + * physical - Physical address to map to logical addresses > + * logical - Return array of logical addresses which map to @physical > + * naddrs - Length of @logical > + * stripe_len - size of IO stripe for the given block group And the long description is here > + */
