Home
last modified time | relevance | path

Searched +full:add +full:- +full:disk (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/linux-6.15/Documentation/admin-guide/device-mapper/
Ddm-raid.rst2 dm-raid
5 The device-mapper RAID (dm-raid) target provides a bridge from DM to MD.
6 It allows the MD RAID drivers to be accessed using a device-mapper
11 -----------------------
22 raid4 RAID4 with dedicated last parity disk
23 raid5_n RAID5 with dedicated last parity disk supporting takeover
26 - Transitory layout
29 - rotating parity 0 with data continuation
32 - rotating parity N with data continuation
35 - rotating parity 0 with data restart
[all …]
/linux-6.15/drivers/md/dm-vdo/
Drecovery-journal.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include "admin-state.h"
19 #include "wait-queue.h"
30 * The concurrency guarantees of this single-threaded model allow the code to omit more
31 * fine-grained locking for recovery journal structures.
33 * The journal consists of a set of on-disk blocks arranged as a circular log with monotonically
36 * half-open interval containing the active blocks. 'active' is the number of the block actively
38 * = active + 1, and head may be any value in the interval [tail - size, active].
40 * The journal also contains a set of in-memory blocks which are used to buffer up entries until
41 * they can be committed. In general the number of in-memory blocks ('tail_buffer_count') will be
[all …]
/linux-6.15/drivers/firmware/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
19 provides a mechanism for inter-processor communication between SCP
41 tristate "BIOS Enhanced Disk Drive calls determine boot disk"
44 Say Y or M here if you want to enable BIOS Enhanced Disk Drive
45 Services real mode BIOS calls to determine which disk
49 obscure configurations. Most disk controller BIOS vendors do
62 bool "Add firmware-provided memory map to sysfs" if EXPERT
65 Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
69 See also Documentation/ABI/testing/sysfs-firmware-memmap.
[all …]
/linux-6.15/Documentation/admin-guide/
Dinitrd.rst1 Using the initial RAM disk (initrd)
8 initrd provides the capability to load a RAM disk by the boot loader.
9 This RAM disk can then be mounted as the root file system and programs
15 where the kernel comes up with a minimum set of compiled-in drivers, and
23 ---------
27 1) the boot loader loads the kernel and the initial RAM disk
28 2) the kernel converts initrd into a "normal" RAM disk and
51 Boot command-line options
52 -------------------------
58 Loads the specified file as the initial RAM disk. When using LILO, you
[all …]
Diostats.rst5 The kernel exposes disk statistics via ``/proc/diskstats`` and
9 Here are examples using a disk with two partitions::
40 system-wide stats you'll have to find all the devices and sum them all up.
42 Field 1 -- # of reads completed (unsigned long)
45 Field 2 -- # of reads merged, field 6 -- # of writes merged (unsigned long)
48 ultimately handed to the disk, and so it will be counted (and queued)
51 Field 3 -- # of sectors read (unsigned long)
54 Field 4 -- # of milliseconds spent reading (unsigned int)
58 Field 5 -- # of writes completed (unsigned long)
61 Field 6 -- # of writes merged (unsigned long)
[all …]
/linux-6.15/drivers/scsi/
Dsr.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Linux scsi disk driver by
12 * add scatter-gather, multiple outstanding request, and other
16 * low-level scsi drivers.
19 * provide auto-eject.
21 * Modified by Gerd Knorr <kraxel@cs.tu-berlin.de> to support the
24 * Modified by Jens Axboe <axboe@suse.de> - Uniform sr_packet()
29 * Modified by Jens Axboe <axboe@suse.de> - support DVD-RAM
49 #include <linux/blk-pm.h>
140 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd() argument
[all …]
Dsr.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * CD-ROM disk driver header file
8 * SCSI disk driver header file by
14 * add scatter-gather, multiple outstanding request, and other
37 unsigned long ms_offset; /* for reading multisession-CD's */
53 struct gendisk *disk; member
57 sdev_prefix_printk(prefix, (cd)->device, (cd)->cdi.name, fmt, ##a)
/linux-6.15/fs/bcachefs/
Djournal.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * b-tree, to avoid having to do synchronous updates to the b-tree on disk.
11 * Without the journal, the b-tree is always internally consistent on
12 * disk - and in fact, in the earliest incarnations bcache didn't have a journal
17 * (for simplicity) - this may change eventually but updates to interior nodes
20 * This means the journal is relatively separate from the b-tree; it consists of
27 * disk), the journal entry will be written out immediately (or as soon as
45 * numbers - jset->seq; other places in the code refer to this sequence number.
48 * into the b-tree). We need a container to indicate which b-tree the key is
49 * for; also, the roots of the various b-trees are stored in jset_entry entries
[all …]
Dbcachefs_ioctl.h1 /* SPDX-License-Identifier: GPL-2.0 */
115 * BCH_IOCTL_DISK_ADD: add a new device to an existing filesystem
123 * not claim to be a member of any existing filesystem - UUIDs on it will be
140 * BCH_IOCTL_DISK_ONLINE: given a disk that is already a member of a filesystem
148 * BCH_IOCTL_DISK_OFFLINE: offline a disk, causing the kernel to close that
170 * @new_state - one of the bch_member_state states (rw, ro, failed,
233 /* XXX: add an event for reporting errors */
276 return offsetof(struct bch_replicas_usage, r) + replicas_entry_bytes(&u->r); in replicas_usage_bytes()
287 * BCH_IOCTL_FS_USAGE: query filesystem disk space usage
289 * Returns disk space usage broken out by data type, number of replicas, and
[all …]
Ddisk_accounting_format.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Disk accounting - KEY_TYPE_accounting - on disk format:
17 * This is a type-tagged union of all our various subtypes; a disk accounting
18 * key can be device counters, replicas counters, et cetera - it's extensible.
29 * yet - it does not know definitively whether individual entries are dirty and
33 * accounting update a unique version number - a total ordering in time; the
123 * No subtypes - number of inodes in the entire filesystem
125 * XXX: perhaps we could add a per-subvolume counter?
170 * On disk usage by snapshot id; counts same values as replicas counter, but
185 * sum of extent sizes - bkey size
[all …]
/linux-6.15/Documentation/ABI/testing/
Dsysfs-fs-f2fs1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
7 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
13 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
19 What: /sys/fs/f2fs/<disk>/gc_idle
28 gc_idle = 3 will select the age-threshold based approach.
31 What: /sys/fs/f2fs/<disk>/reclaim_segments
41 What: /sys/fs/f2fs/<disk>/main_blkaddr
46 What: /sys/fs/f2fs/<disk>/ipu_policy
49 Description: Controls the in-place-update policy.
72 What: /sys/fs/f2fs/<disk>/min_ipu_util
[all …]
/linux-6.15/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
36 matching LED_FUNCTION available, add a new one.
42 the header include/dt-bindings/leds/common.h. If there is no matching
[all …]
/linux-6.15/Documentation/virt/hyperv/
Dhibernation.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ----------
9 Hibernation is sometimes called suspend-to-disk, as it writes a memory
10 image to disk and puts the hardware into the lowest possible power
12 memory image is restored from disk so that it can resume execution
14 Documentation/admin-guide/pm/sleep-states.rst.
23 Hibernation can be initiated within Linux by writing "disk" to
30 ---------------------------------------
31 Linux guests on Hyper-V can also be hibernated, in which case the
32 hardware is the virtual hardware provided by Hyper-V to the guest VM.
[all …]
/linux-6.15/Documentation/networking/devlink/
Ddevlink-flash.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
9 The ``devlink-flash`` API allows updating device firmware. It replaces the
10 older ``ethtool-flash`` mechanism, and doesn't require taking any
13 $ devlink dev flash pci/0000:05:00.0 file flash-boot.bin
22 The ``devlink-flash`` command allows optionally specifying a mask indicating
26 .. list-table:: List of overwrite mask bits
29 * - Name
30 - Description
31 * - ``DEVLINK_FLASH_OVERWRITE_SETTINGS``
32 - Indicates that the device should overwrite settings in the components
[all …]
/linux-6.15/arch/arm/boot/dts/marvell/
Dorion5x-lacie-ethernet-disk-mini-v2.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5 * TODO: add Orion USB device port init when kernel.org support is added.
6 * TODO: add flash write support: see below.
7 * TODO: add power-off support.
8 * TODO: add I2C EEPROM support.
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
/linux-6.15/include/uapi/linux/raid/
Dmd_p.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
4 Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman
29 * 0 - 31 Constant generic RAID device information.
30 * 32 - 63 Generic state information.
31 * 64 - 127 Personality specific information.
32 * 128 - 511 12 32-words descriptors of the disks in the raid set.
33 * 512 - 911 Reserved.
34 * 912 - 1023 Disk specific descriptor.
40 * y = (x & ~(MD_RESERVED_BYTES - 1)) - MD_RESERVED_BYTES
47 #define MD_NEW_SIZE_SECTORS(x) ((x & ~(MD_RESERVED_SECTORS - 1)) - MD_RESERVED_SECTORS)
[all …]
/linux-6.15/block/partitions/
Dldm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ldm - Support for Windows Logical Disk Manager (Dynamic Disks)
6 * Copyright (c) 2001-2012 Anton Altaparmakov
9 * Documentation is available at http://www.linux-ntfs.org/doku.php?id=downloads
23 * ldm_debug/info/error/crit - Output an error message
57 * ldm_parse_privhead - Read the LDM Database PRIVHEAD structure
59 * @ph: In-memory privhead structure in which to return parsed information
62 * sets up the in-memory privhead structure @ph with the obtained information.
77 ph->ver_major = get_unaligned_be16(data + 0x000C); in ldm_parse_privhead()
78 ph->ver_minor = get_unaligned_be16(data + 0x000E); in ldm_parse_privhead()
[all …]
/linux-6.15/block/
Ddisk-events.c1 // SPDX-License-Identifier: GPL-2.0
3 * Disk events - monitor disk events like media change and eject request.
12 struct gendisk *disk; /* the associated disk */ member
20 long poll_msecs; /* interval, -1 for default */
38 /* disable in-kernel polling by default */
41 static unsigned long disk_events_poll_jiffies(struct gendisk *disk) in disk_events_poll_jiffies() argument
43 struct disk_events *ev = disk->ev; in disk_events_poll_jiffies()
47 * If device-specific poll interval is set, always use it. If in disk_events_poll_jiffies()
50 if (ev->poll_msecs >= 0) in disk_events_poll_jiffies()
51 intv_msecs = ev->poll_msecs; in disk_events_poll_jiffies()
[all …]
Dblk-zoned.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/blk-mq.h>
21 #include "blk-mq-sched.h"
22 #include "blk-mq-debugfs.h"
38 * Per-zone write plug.
41 * always at least 1 when the plug is hashed in the disk plug hash table.
57 * @disk: The gendisk the plug belongs to.
69 struct gendisk *disk; member
74 * - BLK_ZONE_WPLUG_PLUGGED: Indicates that the zone write plug is plugged,
77 * - BLK_ZONE_WPLUG_NEED_WP_UPDATE: Indicates that we lost track of a zone
[all …]
/linux-6.15/drivers/md/
Draid5-ppl.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include "raid5-log.h"
34 * stripe. The modifed raid data chunks form an m-by-n matrix, where m is the
38 * stripe of a 4 disk array, 16k chunk size):
40 * sh->sector dd0 dd1 dd2 ppl
41 * +-----+-----+-----+
42 * 0 | --- | --- | --- | +----+
43 * 8 | -W- | -W- | --- | | pp | data_sector = 8
44 * 16 | -W- | -W- | --- | | pp | data_size = 3 * 2 * 4k
45 * 24 | -W- | -W- | --- | | pp | pp_size = 3 * 4k
[all …]
Ddm-zone.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "dm-core.h"
23 struct gendisk *disk = md->disk; in dm_blk_do_report_zones() local
35 if (WARN_ON_ONCE(!tgt->type->report_zones)) in dm_blk_do_report_zones()
36 return -EIO; in dm_blk_do_report_zones()
39 ret = tgt->type->report_zones(tgt, &args, in dm_blk_do_report_zones()
40 nr_zones - args.zone_idx); in dm_blk_do_report_zones()
44 args.next_sector < get_capacity(disk)); in dm_blk_do_report_zones()
54 int dm_blk_report_zones(struct gendisk *disk, sector_t sector, in dm_blk_report_zones() argument
57 struct mapped_device *md = disk->private_data; in dm_blk_report_zones()
[all …]
/linux-6.15/drivers/md/bcache/
Dbcache_ondisk.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
6 * Bcache on disk data structures
13 { return (k->field >> offset) & ~(~0ULL << size); } \
17 k->field &= ~(~(~0ULL << size) << offset); \
18 k->field |= (v & ~(~0ULL << size)) << offset; \
21 /* Btree keys - all units are in sectors */
34 { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \
38 k->ptr[i] &= ~(~(~0ULL << size) << offset); \
39 k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
54 /* Next time I change the on disk format, KEY_OFFSET() won't be 64 bits */
[all …]
/linux-6.15/Documentation/filesystems/xfs/
Dxfs-self-describing-metadata.rst1 .. SPDX-License-Identifier: GPL-2.0
13 structures and indexes on disk and the algorithms for iterating them are
55 each other or written to disk after the fact.
70 Luckily, almost all XFS metadata has magic numbers embedded already - only the
72 magic numbers. Hence we can change the on-disk format of all these objects to
73 add more identifying information and detect this simply by changing the magic
87 hence a 32 bit CRC is more than sufficient to detect multi-bit errors in
92 does really provide any extra value over CRC32c, but it does add a lot of
100 mis-directed writes - a write might be misdirected to the wrong LUN and so be
129 present that the run-time verification is not detecting.
[all …]
/linux-6.15/Documentation/admin-guide/laptops/
Ddisk-shock-protection.rst2 Hard disk shock protection
7 Last modified: 2008-10-03
19 --------
21 ATA/ATAPI-7 specifies the IDLE IMMEDIATE command with unload feature.
23 unload disk heads. This feature is being used in modern laptops in
29 implement a generic disk head parking interface in the Linux kernel.
31 system in order to get disk shock protection working (see
37 ----------------
42 -EOPNOTSUPP if the device does not support the unload feature.
46 no further disk head park request has been issued in the meantime,
[all …]
/linux-6.15/fs/nilfs2/
Dgcinode.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
12 * This file adds the cache of on-disk blocks to be moved in garbage
13 * collection. The disk blocks are held with dummy inodes (called
38 * nilfs_gccache_submit_read_data() - add data buffer and submit read request
39 * @inode - gc inode
40 * @blkoff - dummy offset treated as the key for the page cache
41 * @pbn - physical block number of the block
42 * @vbn - virtual block number of the block, 0 for non-virtual block
43 * @out_bh - indirect pointer to a buffer_head struct to receive the results
[all …]

12345678910>>...25