Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dm vdo: cleanup style for comments in structs

Use /* ... */ rather than /** ... */ if for no other reason than
syntax highlighting is improved (at least for me, in emacs: comments
are now red, code is yellow. Previously comments were also yellow).

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>

+163 -163
+6 -6
drivers/md/dm-vdo/block-map.h
··· 216 216 typedef struct list_head dirty_era_t[2]; 217 217 218 218 struct dirty_lists { 219 - /** The number of periods after which an element will be expired */ 219 + /* The number of periods after which an element will be expired */ 220 220 block_count_t maximum_age; 221 - /** The oldest period which has unexpired elements */ 221 + /* The oldest period which has unexpired elements */ 222 222 sequence_number_t oldest_period; 223 - /** One more than the current period */ 223 + /* One more than the current period */ 224 224 sequence_number_t next_period; 225 - /** The offset in the array of lists of the oldest period */ 225 + /* The offset in the array of lists of the oldest period */ 226 226 block_count_t offset; 227 - /** Expired pages */ 227 + /* Expired pages */ 228 228 dirty_era_t expired; 229 - /** The lists of dirty pages */ 229 + /* The lists of dirty pages */ 230 230 dirty_era_t eras[]; 231 231 }; 232 232
+19 -19
drivers/md/dm-vdo/constants.h
··· 17 17 */ 18 18 VDO_BIO_ROTATION_INTERVAL_LIMIT = 1024, 19 19 20 - /** The number of entries on a block map page */ 20 + /* The number of entries on a block map page */ 21 21 VDO_BLOCK_MAP_ENTRIES_PER_PAGE = 812, 22 22 23 - /** The origin of the flat portion of the block map */ 23 + /* The origin of the flat portion of the block map */ 24 24 VDO_BLOCK_MAP_FLAT_PAGE_ORIGIN = 1, 25 25 26 26 /* ··· 29 29 */ 30 30 VDO_BLOCK_MAP_TREE_HEIGHT = 5, 31 31 32 - /** The default number of bio submission queues. */ 32 + /* The default number of bio submission queues. */ 33 33 DEFAULT_VDO_BIO_SUBMIT_QUEUE_COUNT = 4, 34 34 35 - /** The number of contiguous PBNs to be submitted to a single bio queue. */ 35 + /* The number of contiguous PBNs to be submitted to a single bio queue. */ 36 36 DEFAULT_VDO_BIO_SUBMIT_QUEUE_ROTATE_INTERVAL = 64, 37 37 38 - /** The number of trees in the arboreal block map */ 38 + /* The number of trees in the arboreal block map */ 39 39 DEFAULT_VDO_BLOCK_MAP_TREE_ROOT_COUNT = 60, 40 40 41 - /** The default size of the recovery journal, in blocks */ 41 + /* The default size of the recovery journal, in blocks */ 42 42 DEFAULT_VDO_RECOVERY_JOURNAL_SIZE = 32 * 1024, 43 43 44 - /** The default size of each slab journal, in blocks */ 44 + /* The default size of each slab journal, in blocks */ 45 45 DEFAULT_VDO_SLAB_JOURNAL_SIZE = 224, 46 46 47 - /** Unit test minimum */ 47 + /* Unit test minimum */ 48 48 MINIMUM_VDO_SLAB_JOURNAL_BLOCKS = 2, 49 49 50 50 /* ··· 54 54 */ 55 55 VDO_LOCK_MAP_CAPACITY = 10000, 56 56 57 - /** The maximum number of logical zones */ 57 + /* The maximum number of logical zones */ 58 58 MAX_VDO_LOGICAL_ZONES = 60, 59 59 60 - /** The maximum number of physical zones */ 60 + /* The maximum number of physical zones */ 61 61 MAX_VDO_PHYSICAL_ZONES = 16, 62 62 63 - /** The base-2 logarithm of the maximum blocks in one slab */ 63 + /* The base-2 logarithm of the maximum blocks in one slab */ 64 64 MAX_VDO_SLAB_BITS = 23, 65 65 66 - /** The maximum number of slabs the slab depot supports */ 66 + /* The maximum number of slabs the slab depot supports */ 67 67 MAX_VDO_SLABS = 8192, 68 68 69 69 /* ··· 71 71 */ 72 72 MAXIMUM_SIMULTANEOUS_VDO_BLOCK_MAP_RESTORATION_READS = 1024, 73 73 74 - /** The maximum number of entries in the slab summary */ 74 + /* The maximum number of entries in the slab summary */ 75 75 MAXIMUM_VDO_SLAB_SUMMARY_ENTRIES = MAX_VDO_SLABS * MAX_VDO_PHYSICAL_ZONES, 76 76 77 - /** The maximum number of total threads in a VDO thread configuration. */ 77 + /* The maximum number of total threads in a VDO thread configuration. */ 78 78 MAXIMUM_VDO_THREADS = 100, 79 79 80 - /** The maximum number of VIOs in the system at once */ 80 + /* The maximum number of VIOs in the system at once */ 81 81 MAXIMUM_VDO_USER_VIOS = 2048, 82 82 83 - /** The only physical block size supported by VDO */ 83 + /* The only physical block size supported by VDO */ 84 84 VDO_BLOCK_SIZE = 4096, 85 85 86 - /** The number of sectors per block */ 86 + /* The number of sectors per block */ 87 87 VDO_SECTORS_PER_BLOCK = (VDO_BLOCK_SIZE >> SECTOR_SHIFT), 88 88 89 - /** The size of a sector that will not be torn */ 89 + /* The size of a sector that will not be torn */ 90 90 VDO_SECTOR_SIZE = 512, 91 91 92 - /** The physical block number reserved for storing the zero block */ 92 + /* The physical block number reserved for storing the zero block */ 93 93 VDO_ZERO_BLOCK = 0, 94 94 }; 95 95
+4 -4
drivers/md/dm-vdo/encodings.h
··· 155 155 __le64 nonce; 156 156 __le64 pbn; 157 157 158 - /** May be non-zero on disk */ 158 + /* May be non-zero on disk */ 159 159 u8 unused_long_word[8]; 160 160 161 161 /* Whether this page has been written twice to disk */ ··· 197 197 198 198 /* The state of the recovery journal as encoded in the VDO super block. */ 199 199 struct recovery_journal_state_7_0 { 200 - /** Sequence number to start the journal */ 200 + /* Sequence number to start the journal */ 201 201 sequence_number_t journal_start; 202 - /** Number of logical blocks used by VDO */ 202 + /* Number of logical blocks used by VDO */ 203 203 block_count_t logical_blocks_used; 204 - /** Number of block map pages allocated */ 204 + /* Number of block map pages allocated */ 205 205 block_count_t block_map_data_blocks; 206 206 } __packed; 207 207
+14 -14
drivers/md/dm-vdo/flush.c
··· 22 22 23 23 struct flusher { 24 24 struct vdo_completion completion; 25 - /** The vdo to which this flusher belongs */ 25 + /* The vdo to which this flusher belongs */ 26 26 struct vdo *vdo; 27 - /** The administrative state of the flusher */ 27 + /* The administrative state of the flusher */ 28 28 struct admin_state state; 29 - /** The current flush generation of the vdo */ 29 + /* The current flush generation of the vdo */ 30 30 sequence_number_t flush_generation; 31 - /** The first unacknowledged flush generation */ 31 + /* The first unacknowledged flush generation */ 32 32 sequence_number_t first_unacknowledged_generation; 33 - /** The queue of flush requests waiting to notify other threads */ 33 + /* The queue of flush requests waiting to notify other threads */ 34 34 struct vdo_wait_queue notifiers; 35 - /** The queue of flush requests waiting for VIOs to complete */ 35 + /* The queue of flush requests waiting for VIOs to complete */ 36 36 struct vdo_wait_queue pending_flushes; 37 - /** The flush generation for which notifications are being sent */ 37 + /* The flush generation for which notifications are being sent */ 38 38 sequence_number_t notify_generation; 39 - /** The logical zone to notify next */ 39 + /* The logical zone to notify next */ 40 40 struct logical_zone *logical_zone_to_notify; 41 - /** The ID of the thread on which flush requests should be made */ 41 + /* The ID of the thread on which flush requests should be made */ 42 42 thread_id_t thread_id; 43 - /** The pool of flush requests */ 43 + /* The pool of flush requests */ 44 44 mempool_t *flush_pool; 45 - /** Bios waiting for a flush request to become available */ 45 + /* Bios waiting for a flush request to become available */ 46 46 struct bio_list waiting_flush_bios; 47 - /** The lock to protect the previous fields */ 47 + /* The lock to protect the previous fields */ 48 48 spinlock_t lock; 49 - /** The rotor for selecting the bio queue for submitting flush bios */ 49 + /* The rotor for selecting the bio queue for submitting flush bios */ 50 50 zone_count_t bio_queue_rotor; 51 - /** The number of flushes submitted to the current bio queue */ 51 + /* The number of flushes submitted to the current bio queue */ 52 52 int flush_count; 53 53 }; 54 54
+11 -11
drivers/md/dm-vdo/recovery-journal.h
··· 89 89 }; 90 90 91 91 struct lock_counter { 92 - /** The completion for notifying the owner of a lock release */ 92 + /* The completion for notifying the owner of a lock release */ 93 93 struct vdo_completion completion; 94 - /** The number of logical zones which may hold locks */ 94 + /* The number of logical zones which may hold locks */ 95 95 zone_count_t logical_zones; 96 - /** The number of physical zones which may hold locks */ 96 + /* The number of physical zones which may hold locks */ 97 97 zone_count_t physical_zones; 98 - /** The number of locks */ 98 + /* The number of locks */ 99 99 block_count_t locks; 100 - /** Whether the lock release notification is in flight */ 100 + /* Whether the lock release notification is in flight */ 101 101 atomic_t state; 102 - /** The number of logical zones which hold each lock */ 102 + /* The number of logical zones which hold each lock */ 103 103 atomic_t *logical_zone_counts; 104 - /** The number of physical zones which hold each lock */ 104 + /* The number of physical zones which hold each lock */ 105 105 atomic_t *physical_zone_counts; 106 - /** The per-lock counts for the journal zone */ 106 + /* The per-lock counts for the journal zone */ 107 107 u16 *journal_counters; 108 - /** The per-lock decrement counts for the journal zone */ 108 + /* The per-lock decrement counts for the journal zone */ 109 109 atomic_t *journal_decrement_counts; 110 - /** The per-zone, per-lock reference counts for logical zones */ 110 + /* The per-zone, per-lock reference counts for logical zones */ 111 111 u16 *logical_counters; 112 - /** The per-zone, per-lock reference counts for physical zones */ 112 + /* The per-zone, per-lock reference counts for physical zones */ 113 113 u16 *physical_counters; 114 114 }; 115 115
+97 -97
drivers/md/dm-vdo/statistics.h
··· 13 13 }; 14 14 15 15 struct block_allocator_statistics { 16 - /** The total number of slabs from which blocks may be allocated */ 16 + /* The total number of slabs from which blocks may be allocated */ 17 17 u64 slab_count; 18 - /** The total number of slabs from which blocks have ever been allocated */ 18 + /* The total number of slabs from which blocks have ever been allocated */ 19 19 u64 slabs_opened; 20 - /** The number of times since loading that a slab has been re-opened */ 20 + /* The number of times since loading that a slab has been re-opened */ 21 21 u64 slabs_reopened; 22 22 }; 23 23 ··· 29 29 * reporting purposes 30 30 */ 31 31 struct commit_statistics { 32 - /** The total number of items on which processing has started */ 32 + /* The total number of items on which processing has started */ 33 33 u64 started; 34 - /** The total number of items for which a write operation has been issued */ 34 + /* The total number of items for which a write operation has been issued */ 35 35 u64 written; 36 - /** The total number of items for which a write operation has completed */ 36 + /* The total number of items for which a write operation has completed */ 37 37 u64 committed; 38 38 }; 39 39 40 40 /** Counters for events in the recovery journal */ 41 41 struct recovery_journal_statistics { 42 - /** Number of times the on-disk journal was full */ 42 + /* Number of times the on-disk journal was full */ 43 43 u64 disk_full; 44 - /** Number of times the recovery journal requested slab journal commits. */ 44 + /* Number of times the recovery journal requested slab journal commits. */ 45 45 u64 slab_journal_commits_requested; 46 - /** Write/Commit totals for individual journal entries */ 46 + /* Write/Commit totals for individual journal entries */ 47 47 struct commit_statistics entries; 48 - /** Write/Commit totals for journal blocks */ 48 + /* Write/Commit totals for journal blocks */ 49 49 struct commit_statistics blocks; 50 50 }; 51 51 52 52 /** The statistics for the compressed block packer. */ 53 53 struct packer_statistics { 54 - /** Number of compressed data items written since startup */ 54 + /* Number of compressed data items written since startup */ 55 55 u64 compressed_fragments_written; 56 - /** Number of blocks containing compressed items written since startup */ 56 + /* Number of blocks containing compressed items written since startup */ 57 57 u64 compressed_blocks_written; 58 - /** Number of VIOs that are pending in the packer */ 58 + /* Number of VIOs that are pending in the packer */ 59 59 u64 compressed_fragments_in_packer; 60 60 }; 61 61 62 62 /** The statistics for the slab journals. */ 63 63 struct slab_journal_statistics { 64 - /** Number of times the on-disk journal was full */ 64 + /* Number of times the on-disk journal was full */ 65 65 u64 disk_full_count; 66 - /** Number of times an entry was added over the flush threshold */ 66 + /* Number of times an entry was added over the flush threshold */ 67 67 u64 flush_count; 68 - /** Number of times an entry was added over the block threshold */ 68 + /* Number of times an entry was added over the block threshold */ 69 69 u64 blocked_count; 70 - /** Number of times a tail block was written */ 70 + /* Number of times a tail block was written */ 71 71 u64 blocks_written; 72 - /** Number of times we had to wait for the tail to write */ 72 + /* Number of times we had to wait for the tail to write */ 73 73 u64 tail_busy_count; 74 74 }; 75 75 76 76 /** The statistics for the slab summary. */ 77 77 struct slab_summary_statistics { 78 - /** Number of blocks written */ 78 + /* Number of blocks written */ 79 79 u64 blocks_written; 80 80 }; 81 81 82 82 /** The statistics for the reference counts. */ 83 83 struct ref_counts_statistics { 84 - /** Number of reference blocks written */ 84 + /* Number of reference blocks written */ 85 85 u64 blocks_written; 86 86 }; 87 87 88 88 /** The statistics for the block map. */ 89 89 struct block_map_statistics { 90 - /** number of dirty (resident) pages */ 90 + /* number of dirty (resident) pages */ 91 91 u32 dirty_pages; 92 - /** number of clean (resident) pages */ 92 + /* number of clean (resident) pages */ 93 93 u32 clean_pages; 94 - /** number of free pages */ 94 + /* number of free pages */ 95 95 u32 free_pages; 96 - /** number of pages in failed state */ 96 + /* number of pages in failed state */ 97 97 u32 failed_pages; 98 - /** number of pages incoming */ 98 + /* number of pages incoming */ 99 99 u32 incoming_pages; 100 - /** number of pages outgoing */ 100 + /* number of pages outgoing */ 101 101 u32 outgoing_pages; 102 - /** how many times free page not avail */ 102 + /* how many times free page not avail */ 103 103 u32 cache_pressure; 104 - /** number of get_vdo_page() calls for read */ 104 + /* number of get_vdo_page() calls for read */ 105 105 u64 read_count; 106 - /** number of get_vdo_page() calls for write */ 106 + /* number of get_vdo_page() calls for write */ 107 107 u64 write_count; 108 - /** number of times pages failed to read */ 108 + /* number of times pages failed to read */ 109 109 u64 failed_reads; 110 - /** number of times pages failed to write */ 110 + /* number of times pages failed to write */ 111 111 u64 failed_writes; 112 - /** number of gets that are reclaimed */ 112 + /* number of gets that are reclaimed */ 113 113 u64 reclaimed; 114 - /** number of gets for outgoing pages */ 114 + /* number of gets for outgoing pages */ 115 115 u64 read_outgoing; 116 - /** number of gets that were already there */ 116 + /* number of gets that were already there */ 117 117 u64 found_in_cache; 118 - /** number of gets requiring discard */ 118 + /* number of gets requiring discard */ 119 119 u64 discard_required; 120 - /** number of gets enqueued for their page */ 120 + /* number of gets enqueued for their page */ 121 121 u64 wait_for_page; 122 - /** number of gets that have to fetch */ 122 + /* number of gets that have to fetch */ 123 123 u64 fetch_required; 124 - /** number of page fetches */ 124 + /* number of page fetches */ 125 125 u64 pages_loaded; 126 - /** number of page saves */ 126 + /* number of page saves */ 127 127 u64 pages_saved; 128 - /** the number of flushes issued */ 128 + /* the number of flushes issued */ 129 129 u64 flush_count; 130 130 }; 131 131 132 132 /** The dedupe statistics from hash locks */ 133 133 struct hash_lock_statistics { 134 - /** Number of times the UDS advice proved correct */ 134 + /* Number of times the UDS advice proved correct */ 135 135 u64 dedupe_advice_valid; 136 - /** Number of times the UDS advice proved incorrect */ 136 + /* Number of times the UDS advice proved incorrect */ 137 137 u64 dedupe_advice_stale; 138 - /** Number of writes with the same data as another in-flight write */ 138 + /* Number of writes with the same data as another in-flight write */ 139 139 u64 concurrent_data_matches; 140 - /** Number of writes whose hash collided with an in-flight write */ 140 + /* Number of writes whose hash collided with an in-flight write */ 141 141 u64 concurrent_hash_collisions; 142 - /** Current number of dedupe queries that are in flight */ 142 + /* Current number of dedupe queries that are in flight */ 143 143 u32 curr_dedupe_queries; 144 144 }; 145 145 146 146 /** Counts of error conditions in VDO. */ 147 147 struct error_statistics { 148 - /** number of times VDO got an invalid dedupe advice PBN from UDS */ 148 + /* number of times VDO got an invalid dedupe advice PBN from UDS */ 149 149 u64 invalid_advice_pbn_count; 150 - /** number of times a VIO completed with a VDO_NO_SPACE error */ 150 + /* number of times a VIO completed with a VDO_NO_SPACE error */ 151 151 u64 no_space_error_count; 152 - /** number of times a VIO completed with a VDO_READ_ONLY error */ 152 + /* number of times a VIO completed with a VDO_READ_ONLY error */ 153 153 u64 read_only_error_count; 154 154 }; 155 155 156 156 struct bio_stats { 157 - /** Number of REQ_OP_READ bios */ 157 + /* Number of REQ_OP_READ bios */ 158 158 u64 read; 159 - /** Number of REQ_OP_WRITE bios with data */ 159 + /* Number of REQ_OP_WRITE bios with data */ 160 160 u64 write; 161 - /** Number of bios tagged with REQ_PREFLUSH and containing no data */ 161 + /* Number of bios tagged with REQ_PREFLUSH and containing no data */ 162 162 u64 empty_flush; 163 - /** Number of REQ_OP_DISCARD bios */ 163 + /* Number of REQ_OP_DISCARD bios */ 164 164 u64 discard; 165 - /** Number of bios tagged with REQ_PREFLUSH */ 165 + /* Number of bios tagged with REQ_PREFLUSH */ 166 166 u64 flush; 167 - /** Number of bios tagged with REQ_FUA */ 167 + /* Number of bios tagged with REQ_FUA */ 168 168 u64 fua; 169 169 }; 170 170 171 171 struct memory_usage { 172 - /** Tracked bytes currently allocated. */ 172 + /* Tracked bytes currently allocated. */ 173 173 u64 bytes_used; 174 - /** Maximum tracked bytes allocated. */ 174 + /* Maximum tracked bytes allocated. */ 175 175 u64 peak_bytes_used; 176 176 }; 177 177 178 178 /** UDS index statistics */ 179 179 struct index_statistics { 180 - /** Number of records stored in the index */ 180 + /* Number of records stored in the index */ 181 181 u64 entries_indexed; 182 - /** Number of post calls that found an existing entry */ 182 + /* Number of post calls that found an existing entry */ 183 183 u64 posts_found; 184 - /** Number of post calls that added a new entry */ 184 + /* Number of post calls that added a new entry */ 185 185 u64 posts_not_found; 186 - /** Number of query calls that found an existing entry */ 186 + /* Number of query calls that found an existing entry */ 187 187 u64 queries_found; 188 - /** Number of query calls that added a new entry */ 188 + /* Number of query calls that added a new entry */ 189 189 u64 queries_not_found; 190 - /** Number of update calls that found an existing entry */ 190 + /* Number of update calls that found an existing entry */ 191 191 u64 updates_found; 192 - /** Number of update calls that added a new entry */ 192 + /* Number of update calls that added a new entry */ 193 193 u64 updates_not_found; 194 - /** Number of entries discarded */ 194 + /* Number of entries discarded */ 195 195 u64 entries_discarded; 196 196 }; 197 197 198 198 /** The statistics of the vdo service. */ 199 199 struct vdo_statistics { 200 200 u32 version; 201 - /** Number of blocks used for data */ 201 + /* Number of blocks used for data */ 202 202 u64 data_blocks_used; 203 - /** Number of blocks used for VDO metadata */ 203 + /* Number of blocks used for VDO metadata */ 204 204 u64 overhead_blocks_used; 205 - /** Number of logical blocks that are currently mapped to physical blocks */ 205 + /* Number of logical blocks that are currently mapped to physical blocks */ 206 206 u64 logical_blocks_used; 207 - /** number of physical blocks */ 207 + /* number of physical blocks */ 208 208 block_count_t physical_blocks; 209 - /** number of logical blocks */ 209 + /* number of logical blocks */ 210 210 block_count_t logical_blocks; 211 - /** Size of the block map page cache, in bytes */ 211 + /* Size of the block map page cache, in bytes */ 212 212 u64 block_map_cache_size; 213 - /** The physical block size */ 213 + /* The physical block size */ 214 214 u64 block_size; 215 - /** Number of times the VDO has successfully recovered */ 215 + /* Number of times the VDO has successfully recovered */ 216 216 u64 complete_recoveries; 217 - /** Number of times the VDO has recovered from read-only mode */ 217 + /* Number of times the VDO has recovered from read-only mode */ 218 218 u64 read_only_recoveries; 219 - /** String describing the operating mode of the VDO */ 219 + /* String describing the operating mode of the VDO */ 220 220 char mode[15]; 221 - /** Whether the VDO is in recovery mode */ 221 + /* Whether the VDO is in recovery mode */ 222 222 bool in_recovery_mode; 223 - /** What percentage of recovery mode work has been completed */ 223 + /* What percentage of recovery mode work has been completed */ 224 224 u8 recovery_percentage; 225 - /** The statistics for the compressed block packer */ 225 + /* The statistics for the compressed block packer */ 226 226 struct packer_statistics packer; 227 - /** Counters for events in the block allocator */ 227 + /* Counters for events in the block allocator */ 228 228 struct block_allocator_statistics allocator; 229 - /** Counters for events in the recovery journal */ 229 + /* Counters for events in the recovery journal */ 230 230 struct recovery_journal_statistics journal; 231 - /** The statistics for the slab journals */ 231 + /* The statistics for the slab journals */ 232 232 struct slab_journal_statistics slab_journal; 233 - /** The statistics for the slab summary */ 233 + /* The statistics for the slab summary */ 234 234 struct slab_summary_statistics slab_summary; 235 - /** The statistics for the reference counts */ 235 + /* The statistics for the reference counts */ 236 236 struct ref_counts_statistics ref_counts; 237 - /** The statistics for the block map */ 237 + /* The statistics for the block map */ 238 238 struct block_map_statistics block_map; 239 - /** The dedupe statistics from hash locks */ 239 + /* The dedupe statistics from hash locks */ 240 240 struct hash_lock_statistics hash_lock; 241 - /** Counts of error conditions */ 241 + /* Counts of error conditions */ 242 242 struct error_statistics errors; 243 - /** The VDO instance */ 243 + /* The VDO instance */ 244 244 u32 instance; 245 - /** Current number of active VIOs */ 245 + /* Current number of active VIOs */ 246 246 u32 current_vios_in_progress; 247 - /** Maximum number of active VIOs */ 247 + /* Maximum number of active VIOs */ 248 248 u32 max_vios; 249 - /** Number of times the UDS index was too slow in responding */ 249 + /* Number of times the UDS index was too slow in responding */ 250 250 u64 dedupe_advice_timeouts; 251 - /** Number of flush requests submitted to the storage device */ 251 + /* Number of flush requests submitted to the storage device */ 252 252 u64 flush_out; 253 - /** Logical block size */ 253 + /* Logical block size */ 254 254 u64 logical_block_size; 255 - /** Bios submitted into VDO from above */ 255 + /* Bios submitted into VDO from above */ 256 256 struct bio_stats bios_in; 257 257 struct bio_stats bios_in_partial; 258 - /** Bios submitted onward for user data */ 258 + /* Bios submitted onward for user data */ 259 259 struct bio_stats bios_out; 260 - /** Bios submitted onward for metadata */ 260 + /* Bios submitted onward for metadata */ 261 261 struct bio_stats bios_meta; 262 262 struct bio_stats bios_journal; 263 263 struct bio_stats bios_page_cache; ··· 267 267 struct bio_stats bios_page_cache_completed; 268 268 struct bio_stats bios_acknowledged; 269 269 struct bio_stats bios_acknowledged_partial; 270 - /** Current number of bios in progress */ 270 + /* Current number of bios in progress */ 271 271 struct bio_stats bios_in_progress; 272 - /** Memory usage stats. */ 272 + /* Memory usage stats. */ 273 273 struct memory_usage memory_usage; 274 - /** The statistics for the UDS index */ 274 + /* The statistics for the UDS index */ 275 275 struct index_statistics index; 276 276 }; 277 277
+4 -4
drivers/md/dm-vdo/vdo.h
··· 25 25 #include "uds.h" 26 26 27 27 enum notifier_state { 28 - /** Notifications are allowed but not in progress */ 28 + /* Notifications are allowed but not in progress */ 29 29 MAY_NOTIFY, 30 - /** A notification is in progress */ 30 + /* A notification is in progress */ 31 31 NOTIFYING, 32 - /** Notifications are not allowed */ 32 + /* Notifications are not allowed */ 33 33 MAY_NOT_NOTIFY, 34 - /** A notification has completed */ 34 + /* A notification has completed */ 35 35 NOTIFIED, 36 36 }; 37 37
+8 -8
drivers/md/dm-vdo/vio.c
··· 20 20 21 21 /* A vio_pool is a collection of preallocated vios. */ 22 22 struct vio_pool { 23 - /** The number of objects managed by the pool */ 23 + /* The number of objects managed by the pool */ 24 24 size_t size; 25 - /** The list of objects which are available */ 25 + /* The list of objects which are available */ 26 26 struct list_head available; 27 - /** The queue of requestors waiting for objects from the pool */ 27 + /* The queue of requestors waiting for objects from the pool */ 28 28 struct vdo_wait_queue waiting; 29 - /** The number of objects currently in use */ 29 + /* The number of objects currently in use */ 30 30 size_t busy_count; 31 - /** The list of objects which are in use */ 31 + /* The list of objects which are in use */ 32 32 struct list_head busy; 33 - /** The ID of the thread on which this pool may be used */ 33 + /* The ID of the thread on which this pool may be used */ 34 34 thread_id_t thread_id; 35 - /** The buffer backing the pool's vios */ 35 + /* The buffer backing the pool's vios */ 36 36 char *buffer; 37 - /** The pool entries */ 37 + /* The pool entries */ 38 38 struct pooled_vio vios[]; 39 39 }; 40 40