Home
last modified time | relevance | path

Searched full:write (Results 1 – 25 of 924) sorted by relevance

12345678910>>...37

/Documentation/driver-api/md/
Draid5-cache.rst7 caches data to the RAID disks. The cache can be in write-through (supported
8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
9 3.4) has a new option '--write-journal' to create array with cache. Please
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
17 echo "write-through" > /sys/block/md0/md/journal_mode
22 write-through mode
25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean
27 and parity don't match. The reason is that a stripe write involves several RAID
[all …]
Draid5-ppl.rst11 that have not been touched by a write request during the unclean shutdown can
12 be incorrect. Such condition is known as the RAID5 Write Hole. Because of
15 Partial parity for a write operation is the XOR of stripe data chunks not
16 modified by this write. It is just enough data needed for recovering from the
17 write hole. XORing partial parity with the modified chunks produces parity for
18 the stripe, consistent with its state before the write operation, regardless of
23 the array. Because of this, using write-intent bitmap and PPL together is not
26 When handling a write request PPL writes partial parity before new data and
29 stripe. It does not require a dedicated journaling drive. Write performance is
34 Unlike raid5-cache, the other solution in md for closing the write hole, PPL is
/Documentation/media/uapi/v4l/
Dfunc-write.rst10 .. _func-write:
13 V4L2 write()
19 v4l2-write - Write to a V4L2 device
30 .. c:function:: ssize_t write( int fd, void *buf, size_t count )
31 :name: v4l2-write
48 :ref:`write() <func-write>` writes up to ``count`` bytes to the device
51 enables them. When ``count`` is zero, :ref:`write() <func-write>` returns 0
65 variable is set appropriately. In this case the next write will start at
71 available to write the data immediately.
77 The driver does not support multiple write streams and the device is
[all …]
/Documentation/scsi/
Dsd-parameters.txt6 Enable/disable drive write & read cache.
8 cache_type string | WCE RCD | Write cache | Read cache
10 write through | 0 0 | off | on
12 write back | 1 0 | on | on
13 write back, no read (daft) | 1 1 | on | off
15 To set cache type to "write back" and save this setting to the drive:
17 # echo "write back" > cache_type
22 # echo "temporary write back" > cache_type
/Documentation/ABI/testing/
Dconfigfs-spear-pcie-gadget23 inta ... write 1 to assert INTA and 0 to de-assert.
24 send_msi ... write MSI vector to be sent.
25 vendor_id ... used to write and read vendor id (hex)
26 device_id ... used to write and read device id (hex)
27 bar0_size ... used to write and read bar0_size
28 bar0_address ... used to write and read bar0 mapped area in hex.
29 bar0_rw_offset ... used to write and read offset of bar0 where
31 bar0_data ... used to write and read data at bar0_rw_offset.
Dsysfs-class-bdi29 read_ahead_kb (read-write)
33 min_ratio (read-write)
36 total write-back cache that relates to its current average
40 percentage of the write-back cache to a particular device.
43 max_ratio (read-write)
46 given percentage of the write-back cache. This is useful in
48 most of the write-back cache. For example in case of an NFS
54 If set, the backing device requires that all pages comprising a write
Dsysfs-block-zram5 The disksize file is read-write and specifies the disk size
21 The reset file is write-only and allows resetting the
29 The max_comp_streams file is read-write and specifies the
37 The comp_algorithm file is read-write and lets to show
45 The mem_used_max file is write-only and is used to reset
47 compressed data. For resetting the value, you should write
55 The mem_limit file is write-only and specifies the maximum
64 The compact file is write-only and trigger compaction for
98 The backing_dev file is read-write and set up backing
99 device for zram to write incompressible pages.
[all …]
Dsysfs-platform-dfl-fme52 Description: Read-Write. Read this file for errors detected on pcie0 link.
53 Write this file to clear errors logged in pcie0_errors. Write
61 Description: Read-Write. Read this file for errors detected on pcie1 link.
62 Write this file to clear errors logged in pcie1_errors. Write
82 Description: Read-Write. Read this file to check errors injected. Write this
83 file to inject errors for testing purpose. Write fails with
91 Description: Read-Write. Read this file to get errors detected on FME.
92 Write this file to clear errors logged in fme_errors. Write
Dsysfs-platform-dfl-port30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event.
31 It's used to indicate transient AP1 state. Write 1 to this
38 Description: Read-write. Read this file for AP2 (AFU Power State 2) event.
39 It's used to indicate transient AP2 state. Write 1 to this
46 Description: Read-write. Read or set AFU latency tolerance reporting value.
54 Description: Write-only. User writes command to this interface to set
68 Description: Write-only. User writes command to this interface to set
82 Description: Read-Write. Read this file to get errors detected on port and
83 Accelerated Function Unit (AFU). Write error code to this file
84 to clear errors. Write fails with -EINVAL if input parsing
[all …]
Dsysfs-class-pktcdvd14 add: (WO) Write a block device id (major:minor) to
18 remove: (WO) Write the pktcdvd device id (major:minor)
54 kb_read_gather: (RO) kBytes read to fill write packets.
56 reset: (WO) Write any value to it to reset
68 size: (RO) Contains the size of the bio write queue.
70 congestion_off: (RW) If bio write queue size is below this mark,
73 congestion_on: (RW) If bio write queue size is higher as this
74 mark, do no longer accept bio write requests
77 write queue size is below congestion off mark.
Dsysfs-class-fpga-manager30 * write init = preparing FPGA for programming
31 * write init error = Error while preparing FPGA for
33 * write = FPGA ready to receive image data
34 * write error = Error while programming
35 * write complete = Doing post programming steps
36 * write complete error = Error while doing post programming
/Documentation/media/uapi/rc/
Dlirc-write.rst10 .. _lirc-write:
13 LIRC write()
19 lirc-write - Write to a LIRC device
30 .. c:function:: ssize_t write( int fd, void *buf, size_t count )
31 :name: lirc-write
48 :ref:`write() <lirc-write>` writes up to ``count`` bytes to the device
60 samples. The write function blocks until the data has been transmitted
71 ``EINVAL`` is returned. The write function blocks until the scancode
/Documentation/bpf/
Dprog_cgroup_sysctl.rst11 process inside that cgroup tries to read from or write to sysctl knob in proc.
26 __u32 write;
30 * ``write`` indicates whether sysctl value is being read (``0``) or written
34 or written. This field is read-write. Writing to the field sets the starting
35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)``
37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even
56 ``write(2)`` and ``errno`` will be set to ``EPERM``.
69 ``read(2)`` from and ``write(2)`` to sysctl;
72 written to sysctl before actual write happens. This helper can be used only
73 on ``ctx->write == 1``;
[all …]
/Documentation/misc-devices/
Dspear-pcie-gadget.txt44 write behavior of nodes:
46 link :write UP to enable ltsmm DOWN to disable
47 int_type :write interrupt type to be configured and (int_type could be
51 inta :write 1 to assert INTA and 0 to de-assert.
52 send_msi :write MSI vector to be sent.
53 vendor_id :write vendor id(hex) to be programmed.
54 device_id :write device id(hex) to be programmed.
55 bar0_size :write size of bar0 in hex. default bar0 size is 1000 (hex)
57 bar0_address :write address of bar0 mapped area in hex. (default mapping of
61 bar0_rw_offset :write offset of bar0 for which bar0_data will write value.
[all …]
Deeprom.rst38 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
39 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
40 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37
41 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37
42 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37
43 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37
78 software write protect register at 0x30 - 0x37 (0x20 less than the memory
79 location). The chip responds to "write quick" detection at this address but
81 bytes of the memory array are not write protected. Any byte data write to
82 this address will write protect the memory array permanently, and the
/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt99 between a read followed by read or a write
100 followed by a write to same chip select.
119 - ti,cs-write-setup-ns: write setup width, ns
121 and the activation of write strobe.
124 - ti,cs-write-strobe-ns: write strobe width, ns
126 the write strobe.
129 - ti,cs-write-hold-ns: write hold width, ns
130 Time between the deactivation of the write
169 ti,cs-write-hold-ns = <7>;
170 ti,cs-write-strobe-ns = <42>;
[all …]
/Documentation/devicetree/bindings/serio/
Dps2-gpio.txt10 - write-enable: Indicates whether write function is provided
11 to serio device. Possibly providing the write fn will not work, because
22 write-enable;
/Documentation/filesystems/
Dfuse-io.txt5 + write-through
19 write-through mode is the default and is supported on all kernels. The
23 In write-through mode each write is immediately sent to userspace as one or more
24 WRITE requests, as well as updating any cached pages (and caching previously
29 the cache only, which means that the write(2) syscall can often complete very
/Documentation/x86/
Dmtrr.rst37 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
38 allows bus write transfers to be combined into a larger transfer
40 of image write operations 2.5 times or more.
50 The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These
62 which allows you to read and write. The other is an ioctl()
73 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
74 reg01: base=0x08000000 ( 128MB), size= 64MB: write-back, count=1
78 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
82 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
87 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
[all …]
/Documentation/networking/
Dcxacru-cf.py15 # this program; if not, write to the Free Software Foundation, Inc., 59
39 sys.stdout.write("\n")
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")
/Documentation/block/
Dstat.rst33 write I/Os requests number of write I/Os processed
34 write merges requests number of write I/Os merged with in-queue I/O
35 write sectors sectors number of sectors written
36 write ticks milliseconds total wait time for write requests
46 read I/Os, write I/Os, discard I/0s
51 read merges, write merges, discard merges
57 read sectors, write sectors, discard_sectors
65 read ticks, write ticks, discard ticks
/Documentation/admin-guide/device-mapper/
Dlog-writes.rst6 of the write operations to. This is intended for file system developers wishing
8 There is a log_write_entry written for every WRITE request and the target is
10 that is in the WRITE requests is copied into the log to make the replay happen
16 We log things in order of completion once we are sure the write is no longer in
17 cache. This means that normal WRITE requests are not actually logged until the
22 This works by attaching all WRITE requests to a list once the write completes.
27 following example (W means write, C means complete):
42 Any REQ_OP_DISCARD requests are treated like WRITE requests. Otherwise we would
43 have all the DISCARD requests, and then the WRITE requests and then the FLUSH
46 WRITE block 1, DISCARD block 1, FLUSH
[all …]
/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt10 NOR flash memories), WE (write enable). This on top of 6 different chip selects
34 FIXME: the manual mentions "write precharge cycles" and "precharge cycles".
80 CS or read followed by write on the same CS. Valid values 0 thru 15. Minimum
82 - qcom,xmem-write-hold-cycles: write hold cycles, these are extra cycles
83 inserted after every write minimum 1. The data out is driven from the time
86 - qcom,xmem-write-delta-cycles: initial latency for write cycles inserted for
87 the first write to a page or burst memory. Valid values 0 thru 255.
90 - qcom,xmem-write-wait-cycles: number of wait cycles for every write access, 0=1
132 qcom,xmem-write-hold-cycles = <3>;
133 qcom,xmem-write-delta-cycles = <31>;
[all …]
/Documentation/devicetree/bindings/dma/
Dqcom_hidma_mgmt.txt14 instance can use like maximum read/write request and number of bytes to
15 read/write in a single burst.
21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can
31 - max-write-transactions: This value is how many times a write burst is
70 max-write-burst-bytes = <1024>;
72 max-write-transactions = <31>;
/Documentation/devicetree/bindings/mtd/
Dlpc32xx-slc.txt7 - gpios: GPIO specification for NAND write protect
11 - nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY)
15 - nxp,wwidth: Write pulse width (W_WIDTH)
16 - nxp,whold: Write hold time (W_HOLD)
17 - nxp,wsetup: Write setup time (W_SETUP)

12345678910>>...37