| /linux/crypto/async_tx/ |
| H A D | raid6test.c | 35 static void makedata(int disks) in makedata() argument 39 for (i = 0; i < disks; i++) { in makedata() 46 static char disk_type(int d, int disks) in disk_type() argument 48 if (d == disks - 2) in disk_type() 50 else if (d == disks - 1) in disk_type() 57 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, in raid6_dual_recov() argument 68 if (failb == disks-1) { in raid6_dual_recov() 69 if (faila == disks-2) { in raid6_dual_recov() 73 disks, bytes, &submit); in raid6_dual_recov() 80 BUG_ON(disks > NDISKS); in raid6_dual_recov() [all …]
|
| /linux/lib/raid/raid6/riscv/ |
| H A D | recov_rvv.c | 148 static void raid6_2data_recov_rvv(int disks, size_t bytes, int faila, in raid6_2data_recov_rvv() argument 155 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_rvv() 156 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_rvv() 165 ptrs[disks - 2] = dp; in raid6_2data_recov_rvv() 168 ptrs[disks - 1] = dq; in raid6_2data_recov_rvv() 170 raid6_gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_rvv() 175 ptrs[disks - 2] = p; in raid6_2data_recov_rvv() 176 ptrs[disks - 1] = q; in raid6_2data_recov_rvv() 188 static void raid6_datap_recov_rvv(int disks, size_t bytes, int faila, in raid6_datap_recov_rvv() argument 194 p = (u8 *)ptrs[disks - 2]; in raid6_datap_recov_rvv() [all …]
|
| H A D | rvv.c | 19 static void raid6_rvv1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs) in raid6_rvv1_gen_syndrome_real() argument 26 z0 = disks - 3; /* Highest data disk */ in raid6_rvv1_gen_syndrome_real() 93 static void raid6_rvv1_xor_syndrome_real(int disks, int start, int stop, in raid6_rvv1_xor_syndrome_real() argument 102 p = dptr[disks - 2]; /* XOR parity */ in raid6_rvv1_xor_syndrome_real() 103 q = dptr[disks - 1]; /* RS syndrome */ in raid6_rvv1_xor_syndrome_real() 194 static void raid6_rvv2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs) in raid6_rvv2_gen_syndrome_real() argument 201 z0 = disks - 3; /* Highest data disk */ in raid6_rvv2_gen_syndrome_real() 287 static void raid6_rvv2_xor_syndrome_real(int disks, int start, int stop, in raid6_rvv2_xor_syndrome_real() argument 296 p = dptr[disks - 2]; /* XOR parity */ in raid6_rvv2_xor_syndrome_real() 297 q = dptr[disks - 1]; /* RS syndrome */ in raid6_rvv2_xor_syndrome_real() [all …]
|
| /linux/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 6 disks. The role of RAID disks isn't changed with the cache disk. The cache disk 7 caches data to the RAID disks. The cache can be in write-through (supported 28 disks and it's possible the writes don't hit all RAID disks yet before the 35 is safe on the cache disk, the data will be flushed onto RAID disks. The 40 filesystems) after the data is safe on RAID disks, so cache disk failure 52 write. If a write crosses all RAID disks of a stripe, we call it full-stripe 57 RAID disks only after the data becomes a full stripe write. This will 63 disks later after specific conditions met. So cache disk failure will cause 90 order in which MD writes data to cache disk and RAID disks. Specifically, in 92 parity to the log, writes the data and parity to RAID disks after the data and [all …]
|
| H A D | raid5-ppl.rst | 7 may become inconsistent with data on other member disks. If the array is also 9 disks is missing. This can lead to silent data corruption when rebuilding the 19 which chunk writes have completed. If one of the not modified data disks of 22 unclean shutdown and all disks are available, eliminating the need to resync 27 parity are dispatched to disks. PPL is a distributed log - it is stored on 44 There is a limitation of maximum 64 disks in the array for PPL. It allows to 45 keep data structures and implementation simple. RAID5 arrays with so many disks 46 are not likely due to high risk of multiple disks failure. Such restriction
|
| /linux/drivers/md/ |
| H A D | md-linear.c | 24 struct dev_info disks[] __counted_by(raid_disks); 46 if (sector < conf->disks[mid].end_sector) in which_dev() 52 return conf->disks + lo; in which_dev() 96 conf = kzalloc_flex(*conf, disks, raid_disks); in linear_conf() 118 struct dev_info *disk = conf->disks + j; in linear_conf() 146 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf() 149 conf->disks[i].end_sector = in linear_conf() 150 conf->disks[i-1].end_sector + in linear_conf() 151 conf->disks[i].rdev->sectors; in linear_conf()
|
| H A D | raid5.c | 130 if (sh->qd_idx == sh->disks - 1) in raid6_d0() 236 for (i = sh->disks; i--; ) in do_release_stripe() 505 init_stripe_shared_pages(struct stripe_head *sh, struct r5conf *conf, int disks) in init_stripe_shared_pages() argument 514 nr_pages = (disks + cnt - 1) / cnt; in init_stripe_shared_pages() 595 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; in init_stripe() 600 for (i = sh->disks; i--; ) { in init_stripe() 702 struct md_rdev *rdev = READ_ONCE(conf->disks[i].rdev); in raid5_calc_degraded() 705 rdev = READ_ONCE(conf->disks[i].replacement); in raid5_calc_degraded() 727 struct md_rdev *rdev = READ_ONCE(conf->disks[i].rdev); in raid5_calc_degraded() 730 rdev = READ_ONCE(conf->disks[i].replacement); in raid5_calc_degraded() [all …]
|
| H A D | raid5-ppl.c | 161 int disks = sh->disks; in ops_run_partial_parity() local 183 for (i = disks; i--;) { in ops_run_partial_parity() 193 NULL, sh, (void *) (srcs + sh->disks + 2)); in ops_run_partial_parity() 299 for (i = 0; i < sh->disks; i++) { in ppl_log_stripe() 479 for (i = 0; i < sh->disks; i++) { in ppl_submit_iounit() 623 rdev = conf->disks[i].rdev; in ppl_do_flush() 885 rdev = conf->disks[dd_idx].rdev; in ppl_recover_entry() 937 parity_rdev = conf->disks[sh.pd_idx].rdev; in ppl_recover_entry() 1403 struct md_rdev *rdev = conf->disks[i].rdev; in ppl_init_log()
|
| H A D | raid5-log.h | 16 struct stripe_head_state *s, int disks); 23 struct stripe_head *sh, int disks);
|
| H A D | md.h | 412 struct list_head disks; member 863 list_for_each_entry(rdev, &((mddev)->disks), same_set) 866 list_for_each_entry_safe(rdev, tmp, &((mddev)->disks), same_set) 869 list_for_each_entry_rcu(rdev, &((mddev)->disks), same_set)
|
| H A D | raid5.h | 215 int disks; /* disks in stripe */ member 671 struct disk_info *disks; member
|
| /linux/tools/testing/selftests/zram/ |
| H A D | README | 6 (<id> = 0, 1, ...). Pages written to these disks are compressed and stored 7 in memory itself. These disks allow very fast I/O and compression provides 9 use as swap disks, various caches under /var and maybe many more :) 25 zram01.sh: creates general purpose ram disks with ext4 filesystems
|
| /linux/fs/udf/ |
| H A D | Kconfig | 12 removable USB disks. Say Y if you intend to mount DVD discs or CDRW's 14 disks. Please read <file:Documentation/filesystems/udf.rst>.
|
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | ramdisk.rst | 26 The RAM disk supports up to 16 RAM disks by default, and can be reconfigured 27 to support an unlimited number of RAM disks (at your own risk). Just change 32 directory. RAM disks are all major number 1, and start with minor number 0 48 This parameter tells the RAM disk driver to set up RAM disks of N k size. The 99 area (esp. for disks) so that maximal compression is achieved for
|
| /linux/Documentation/scsi/ |
| H A D | aha152x.rst | 132 total capacity of disks in blocks (sectors). 161 (but there are already bigger disks out there today). 169 - for disks<1GB: use default translation (C/32/64) 171 - for disks>1GB: 181 disks.
|
| H A D | dc395x.rst | 10 be safe to use. Testing with hard disks has not been done to any 12 to use this driver with hard disks.
|
| /linux/fs/romfs/ |
| H A D | Kconfig | 7 initial ram disks of installation disks, but it could be used for
|
| /linux/Documentation/filesystems/ |
| H A D | romfs.rst | 8 disks of installation disks. It has grown up by the need of having 27 various read-only media, like (E)EPROM disks if someone will have the 46 from a nearby server, so you don't want to carry two disks for this 175 similarly small writable filesystem for RAM disks.
|
| /linux/drivers/target/sbp/ |
| H A D | Kconfig | 8 bus, for example hard disks. Similar to FireWire Target Disk mode on
|
| /linux/fs/qnx4/ |
| H A D | Kconfig | 10 Say Y if you intend to mount QNX hard disks or floppies.
|
| /linux/fs/qnx6/ |
| H A D | Kconfig | 10 Say Y if you intend to mount QNX hard disks or floppies formatted
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | unstriped.rst | 9 unstripe a device-mapper "striped" target to access the underlying disks 11 used to unstripe a hardware RAID-0 to access backing disks.
|
| /linux/fs/minix/ |
| H A D | Kconfig | 13 on older Linux floppy disks. This option will enlarge your kernel
|
| /linux/fs/affs/ |
| H A D | Kconfig | 9 disks by Amiga(tm) systems since AmigaOS Version 1.3 (34.20). Say Y
|
| /linux/fs/adfs/ |
| H A D | Kconfig | 28 hard drives and ADFS-formatted floppy disks. This is experimental
|