Lines Matching full:physical

248 Each slab is independent of every other. They are assigned to "physical
249 zones" in round-robin fashion. If there are P physical zones, then slab n
257 how full it is. During recovery, each physical zone will attempt to recover
266 The block map contains the logical to physical mapping. It can be thought
268 36 bits of which contain the physical block number which holds the data for
305 new physical mappings. For a block map remapping, the journal records the
306 block map page number and the physical block allocated for it. Block map
311 before each journal block write to ensure that the physical data for the
317 reconstruct the logical to physical mappings after an unexpected
369 missing, it is allocated at this time out of the same physical storage
402 physical zone to search for free space within that zone.
406 it will proceed to search the next physical zone by taking the implicit
409 struct pbn_lock (the "physical block lock") on the free block. The
411 claims that data_vios can have on physical blocks. The pbn_lock is
413 hashtable is also covered by the implicit physical zone lock. The
417 physical zone lock.
464 obtain a physical block lock on the indicated physical address, in
467 physical address is already locked by another data_vio, the data at
471 c. If the data matches and the physical block can add references, the
473 physical block as their new physical address and proceed to step 9
480 it has an allocated physical block (from step 3) that it can write
483 none of the data_vios have an allocated physical block, these writes
511 using the allocated physical block from one of its data_vios. Step
514 g. Each data_vio sets the compressed block as its new physical address.
515 The data_vio obtains an implicit lock on the physical zone and
517 modified to be a shared lock. Then it releases the implicit physical
521 step 3. It will write its data to that allocated physical block.
525 physical address with as many other data_vios in the hash lock as
539 finds the current physical address for this logical address (the "old
540 physical mapping"), if any, and records it. This step requires a lock
545 logical block address, the old physical mapping, and the new physical
554 holding a lock on the affected physical slab, covered by its implicit
555 physical zone lock. For correctness during recovery, the slab journal
565 logical-to-physical mapping in the block map to point to the new
566 physical block. At this point the write operation is complete.
571 The data_vio then acquires the implicit physical zone lock and releases
589 logical-to-physical mapping by traversing the block map tree as in step 3,
591 physical block address. A read data_vio will not allocate block map tree
614 into the slab journals. Finally, each physical zone attempts to replay at