/Linux-v4.19/Documentation/device-mapper/ |
D | era.txt | 17 era <metadata dev> <origin dev> <block size> 19 metadata dev : fast device holding the persistent metadata 39 Create a clone of the metadata, to allow a userland process to read it. 44 Drop the metadata snapshot. 49 <metadata block size> <#used metadata blocks>/<#total metadata blocks> 50 <current era> <held metadata root | '-'> 52 metadata block size : Fixed block size for each metadata block in 54 #used metadata blocks : Number of metadata blocks used 55 #total metadata blocks : Total number of metadata blocks 57 held metadata root : The location, in blocks, of the metadata root [all …]
|
D | thin-provisioning.txt | 23 - Improve metadata resilience by storing metadata on a mirrored volume 26 - Improve performance by storing the metadata on SSD. 39 Userspace tools for checking and repairing the metadata have been fully 55 The pool device ties together the metadata volume and the data volume. 56 It maps I/O linearly to the data volume and updates the metadata via 67 Setting up a pool device requires a valid metadata device, and a 68 data device. If you do not have an existing metadata device you can 69 make one by zeroing the first 4k to indicate empty metadata. 73 The amount of metadata you need will vary according to how many blocks 75 less sharing than average you'll need a larger-than-average metadata device. [all …]
|
D | dm-zoned.txt | 26 internally for storing metadata and performaing reclaim operations. 39 metadata. 43 1) Metadata zones: these are conventional zones used to store metadata. 55 device being used. This allows reducing the amount of metadata needed to 58 The on-disk metadata format is as follows: 61 super block which describes the on disk amount and position of metadata 112 To protect metadata against corruption in case of sudden power loss or 113 system crash, 2 sets of metadata zones are used. One set, the primary 114 set, is used as the main metadata region, while the secondary set is 115 used as a staging area. Modified metadata is first written to the [all …]
|
D | cache.txt | 16 The target reuses the metadata library used in the thin-provisioning 49 3. A small metadata device - records which blocks are in the cache, 53 e.g. as a mirror for extra robustness. This metadata device may only 68 block sizes are bad because they increase the amount of metadata (both 79 the metadata. 124 Updating on-disk metadata 127 On-disk metadata is committed every time a FLUSH or FUA bio is written. 130 cache. If power is lost you may lose some recent writes. The metadata 172 cache <metadata dev> <cache dev> <origin dev> <block size> 176 metadata dev : fast device holding the persistent metadata [all …]
|
D | persistent-data.txt | 4 The more-sophisticated device-mapper targets require complex metadata 17 framework for people who want to store metadata in device-mapper 49 On power failure your metadata will be as it was when last committed. 55 dm-space-map-metadata.[hc] 62 the metadata space. The latter is complicated by the need to store
|
/Linux-v4.19/Documentation/filesystems/ |
D | xfs-self-describing-metadata.txt | 13 Almost all metadata on XFS is dynamically allocated. The only fixed location 14 metadata is the allocation group headers (SB, AGF, AGFL and AGI), while all 15 other metadata structures need to be discovered by walking the filesystem 28 However, if we scale the filesystem up to 1PB, we now have 10x as much metadata 39 One of the problems with the current metadata format is that apart from the 40 magic number in the metadata block, we have no other way of identifying what it 42 you can't look at a single metadata block in isolation and say "yes, it is 46 verification of metadata values, looking for values that are in range (and hence 53 Hence we need to record more information into the metadata to allow us to 54 quickly determine if the metadata is intact and can be ignored for the purpose [all …]
|
D | squashfs.txt | 114 Inodes are packed into the metadata blocks, and are not aligned to block 116 by a 48-bit number which encodes the location of the compressed metadata block 132 Like inodes, directories are packed into compressed metadata blocks, stored 140 compressed metadata block, and therefore, can share the start block. 150 in each metadata block. Directories are sorted in alphabetical order, 153 location of the metadata block the filename is in has been found. 154 The general idea of the index is to ensure only one metadata block needs to be 183 fragment lookup table is itself stored compressed into metadata blocks. 193 stored compressed into metadata blocks. A second index table is used to 207 This table is stored compressed into metadata blocks. A second index table is [all …]
|
D | ceph.txt | 23 separates data and metadata management into independent server 24 clusters, similar to Lustre. Unlike Lustre, however, metadata and 27 (checksumming, metadata replication, etc.). File data is striped 36 dynamically redistributes metadata in response to workload changes, 38 metadata server takes a somewhat unconventional approach to metadata 44 independent metadata servers, allowing scalable concurrent access. 139 cached metadata only when a lease or capability ensures it is
|
/Linux-v4.19/samples/bpf/ |
D | xdp_sample_pkts_kern.c | 34 } __packed metadata; in xdp_sample_prog() local 51 metadata.cookie = 0xdead; in xdp_sample_prog() 52 metadata.pkt_len = (u16)(data_end - data); in xdp_sample_prog() 53 sample_size = min(metadata.pkt_len, SAMPLE_SIZE); in xdp_sample_prog() 57 &metadata, sizeof(metadata)); in xdp_sample_prog()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | dev-meta.rst | 12 intended for transfer of metadata to userspace and control of that operation. 14 The metadata interface is implemented on video capture device nodes. The device 15 can be dedicated to metadata or can implement both video and metadata capture 21 Device nodes supporting the metadata interface set the ``V4L2_CAP_META_CAPTURE`` 24 ioctl. That flag means the device can capture metadata to memory. 32 The metadata device uses the :ref:`format` ioctls to select the capture format. 33 The metadata buffer content format is bound to that selected format. In addition 55 :ref:`four character code <v4l2-fourcc>`. V4L2 defines metadata formats
|
/Linux-v4.19/tools/perf/util/ |
D | cs-etm.c | 64 u64 **metadata; member 126 t_params[i].etmv4.reg_idr0 = etm->metadata[i][CS_ETMV4_TRCIDR0]; in cs_etm__dump_event() 127 t_params[i].etmv4.reg_idr1 = etm->metadata[i][CS_ETMV4_TRCIDR1]; in cs_etm__dump_event() 128 t_params[i].etmv4.reg_idr2 = etm->metadata[i][CS_ETMV4_TRCIDR2]; in cs_etm__dump_event() 129 t_params[i].etmv4.reg_idr8 = etm->metadata[i][CS_ETMV4_TRCIDR8]; in cs_etm__dump_event() 131 etm->metadata[i][CS_ETMV4_TRCCONFIGR]; in cs_etm__dump_event() 133 etm->metadata[i][CS_ETMV4_TRCTRACEIDR]; in cs_etm__dump_event() 240 zfree(&aux->metadata[i]); in cs_etm__free() 243 zfree(&aux->metadata); in cs_etm__free() 346 t_params[i].etmv4.reg_idr0 = etm->metadata[i][CS_ETMV4_TRCIDR0]; in cs_etm__alloc_queue() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-zoned-reclaim.c | 14 struct dmz_metadata *metadata; member 60 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_align_wp() 116 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_copy() 189 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_buf() 228 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_seq_data() 273 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_rnd_data() 323 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_empty() 339 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim() 397 (void) dmz_flush_metadata(zrc->metadata); in dmz_reclaim() 416 struct dmz_metadata *zmd = zrc->metadata; in dmz_should_reclaim() [all …]
|
D | dm-zoned-target.c | 49 struct dmz_metadata *metadata; member 112 sector = dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_read_bio() 180 dmz_id(dmz->metadata, zone), in dmz_handle_read() 189 ret = dmz_block_valid(dmz->metadata, zone, chunk_block); in dmz_handle_read() 204 ret = dmz_block_valid(dmz->metadata, bzone, chunk_block); in dmz_handle_read() 242 bio->bi_iter.bi_sector = dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_write_bio() 260 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write() 291 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write() 332 dmz_id(dmz->metadata, zone), in dmz_handle_write() 357 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_discard() [all …]
|
/Linux-v4.19/Documentation/block/ |
D | data-integrity.txt | 4 Modern filesystems feature checksumming of data and metadata to 14 support for appending integrity metadata to an I/O. The integrity 15 metadata (or protection information in SCSI terminology) includes a 36 allow the operating system to interact with the integrity metadata 42 information to each sector. The data + integrity metadata is stored 49 encouraged them to allow separation of the data and integrity metadata 63 when writing and vice versa. This allows the integrity metadata to be 69 buffers and the integrity metadata. These two distinct buffers must 72 The separation of the data and integrity metadata buffers as well as 104 the kernel) is concerned, the integrity metadata is opaque information [all …]
|
/Linux-v4.19/net/bridge/ |
D | br_vlan_tunnel.c | 64 struct metadata_dst *metadata = NULL; in __vlan_tunnel_info_add() local 71 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add() 73 if (!metadata) in __vlan_tunnel_info_add() 76 metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_BRIDGE; in __vlan_tunnel_info_add() 77 vlan->tinfo.tunnel_dst = metadata; in __vlan_tunnel_info_add()
|
/Linux-v4.19/fs/jffs2/ |
D | fs.c | 60 mdatalen = f->metadata->size; in jffs2_do_setattr() 61 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr() 66 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr() 157 old_metadata = f->metadata; in jffs2_do_setattr() 166 f->metadata = NULL; in jffs2_do_setattr() 168 f->metadata = new_metadata; in jffs2_do_setattr() 325 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget() 326 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget() 328 f->metadata->size); in jffs2_iget() 332 ret = jffs2_read_dnode(c, f, f->metadata, (char *)&jdev, 0, f->metadata->size); in jffs2_iget() [all …]
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify_user.c | 118 struct fanotify_event_metadata *metadata, in fill_event_metadata() argument 126 group, metadata, fsn_event); in fill_event_metadata() 130 metadata->event_len = FAN_EVENT_METADATA_LEN; in fill_event_metadata() 131 metadata->metadata_len = FAN_EVENT_METADATA_LEN; in fill_event_metadata() 132 metadata->vers = FANOTIFY_METADATA_VERSION; in fill_event_metadata() 133 metadata->reserved = 0; in fill_event_metadata() 134 metadata->mask = fsn_event->mask & FAN_ALL_OUTGOING_EVENTS; in fill_event_metadata() 135 metadata->pid = pid_vnr(event->tgid); in fill_event_metadata() 137 metadata->fd = FAN_NOFD; in fill_event_metadata() 139 metadata->fd = create_fd(group, event, file); in fill_event_metadata() [all …]
|
/Linux-v4.19/drivers/nvme/host/ |
D | trace.h | 106 __field(u64, metadata) 116 __entry->metadata = le64_to_cpu(cmd->common.metadata); 124 __entry->flags, __entry->metadata,
|
/Linux-v4.19/fs/xfs/ |
D | Kconfig | 32 information as filesystem metadata and uses journaling to provide a 62 mechanism for ensuring data and metadata/log I/Os are completely 72 bool "XFS online metadata check support" 76 If you say Y here you will be able to check metadata on a 89 bool "XFS online metadata repair support" 93 If you say Y here you will be able to repair metadata on a 97 formatted with secondary metadata, such as reverse mappings and inode
|
/Linux-v4.19/include/uapi/linux/ |
D | nvme_ioctl.h | 27 __u64 metadata; member 43 __u64 metadata; member
|
/Linux-v4.19/net/sched/ |
D | act_tunnel_key.c | 208 struct metadata_dst *metadata = NULL; in tunnel_key_init() local 289 metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl, in tunnel_key_init() 300 metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, in tunnel_key_init() 309 if (!metadata) { in tunnel_key_init() 317 &metadata->u.tun_info, in tunnel_key_init() 323 metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX; in tunnel_key_init() 356 params_new->tcft_enc_metadata = metadata; in tunnel_key_init() 372 dst_release(&metadata->dst); in tunnel_key_init()
|
/Linux-v4.19/drivers/net/ |
D | geneve.c | 640 bool metadata = geneve->collect_md; in geneve_open() local 644 if (ipv6 || metadata) in geneve_open() 647 if (!ret && (!ipv6 || metadata)) in geneve_open() 1165 bool metadata, bool ipv6_rx_csum) in geneve_configure() argument 1172 if (metadata && !is_tnl_info_zero(info)) { in geneve_configure() 1187 if (!metadata && ip_tunnel_info_af(info) == AF_INET) { in geneve_configure() 1196 if (metadata) { in geneve_configure() 1212 geneve->collect_md = metadata; in geneve_configure() 1231 struct ip_tunnel_info *info, bool *metadata, in geneve_nl2info() argument 1336 *metadata = true; in geneve_nl2info() [all …]
|
/Linux-v4.19/Documentation/core-api/ |
D | assoc_array.rst | 20 Rather, the array is made up of metadata blocks that point to objects. 76 preallocated metadata blocks that will be installed in the internal tree and 77 keeps track of the metadata blocks that will be removed from the tree when the 340 can contain mixtures of leaves and metadata pointers. 353 constructed of two types of metadata blocks: nodes and shortcuts. 433 then the node will have all those leaves in it and will not have any metadata 436 A node can contain a heterogeneous mix of leaves and metadata pointers. 438 space. The leaves can be in any slot not occupied by a metadata pointer. It 440 metadata pointer. If the metadata pointer is there, any leaf whose key matches 441 the metadata key prefix must be in the subtree that the metadata pointer points [all …]
|
/Linux-v4.19/include/sound/ |
D | compress_driver.h | 105 struct snd_compr_metadata *metadata); 107 struct snd_compr_metadata *metadata);
|
/Linux-v4.19/sound/core/ |
D | compress_offload.c | 615 struct snd_compr_metadata metadata; in snd_compr_get_metadata() local 621 if (copy_from_user(&metadata, (void __user *)arg, sizeof(metadata))) in snd_compr_get_metadata() 624 retval = stream->ops->get_metadata(stream, &metadata); in snd_compr_get_metadata() 628 if (copy_to_user((void __user *)arg, &metadata, sizeof(metadata))) in snd_compr_get_metadata() 637 struct snd_compr_metadata metadata; in snd_compr_set_metadata() local 646 if (copy_from_user(&metadata, (void __user *)arg, sizeof(metadata))) in snd_compr_set_metadata() 649 retval = stream->ops->set_metadata(stream, &metadata); in snd_compr_set_metadata()
|