| /linux/fs/btrfs/ |
| H A D | discard.c | 12 #include "discard.h" 17 * This contains the logic to handle async discard. 19 * Async discard manages trimming of free space outside of transaction commit. 24 * passes with different discard filter requirements. A delayed work item is 39 * The in-memory free space cache serves as the backing state for discard. 45 * ease/efficiency for find_free_extent() and the accuracy of discard state. 52 * tradeoff between discard state accuracy and the cost of accounting. 77 * Determine if async discard should be running. 79 * @discard_ctl: discard control 182 * @discard_ctl: discard control [all …]
|
| /linux/arch/arc/kernel/ |
| H A D | vmlinux.lds.S | 119 /DISCARD/ : { *(.eh_frame) } 135 /DISCARD/ : { *(.debug_frame) } 136 /DISCARD/ : { *(.debug_aranges) } 137 /DISCARD/ : { *(.debug_pubnames) } 138 /DISCARD/ : { *(.debug_info) } 139 /DISCARD/ : { *(.debug_abbrev) } 140 /DISCARD/ : { *(.debug_line) } 141 /DISCARD/ : { *(.debug_str) } 142 /DISCARD/ : { *(.debug_loc) } 143 /DISCARD/ : { *(.debug_macinfo) } [all …]
|
| /linux/include/xen/interface/io/ |
| H A D | blkif.h | 111 * Recognised only if "feature-discard" is present in backend xenbus info. 112 * The "feature-discard" node contains a boolean indicating whether trim 113 * (ATA) or unmap (SCSI) - conviently called discard requests are likely 114 * to succeed or fail. Either way, a discard request 117 * or not it is worthwhile for the frontend to attempt discard requests. 119 * create the "feature-discard" node! 121 * Discard operation is a request for the underlying block device to mark 122 * extents to be erased. However, discard does not guarantee that the blocks 126 * Discard operations are passed with sector_number as the 127 * sector index to begin discard operations at and nr_sectors as the number of [all …]
|
| /linux/Documentation/block/ |
| H A D | stat.rst | 40 discard I/Os requests number of discard I/Os processed 41 discard merges requests number of discard I/Os merged with in-queue I/O 42 discard sectors sectors number of sectors discarded 43 discard ticks milliseconds total wait time for discard requests 48 read I/Os, write I/Os, discard I/0s 61 read merges, write merges, discard merges 75 read ticks, write ticks, discard ticks, flush ticks
|
| /linux/fs/xfs/ |
| H A D | xfs_discard.c | 38 * extremely slow discard implementations (e.g. ceph RBD) and so walking a 52 * state of the free extent is out of our control and we cannot run a discard 54 * extent as busy and undergoing a discard operation whilst we held the AGF 57 * This is exactly how online discard works - free extents are marked busy when 59 * the busy extent record is marked as "undergoing discard" and the discard is 60 * then issued on the free extent. Once the discard completes, the busy extent 63 * In the context of fstrim, if we find a free extent we need to discard, we 64 * don't have to discard it immediately. All we need to do it record that free 65 * extent as being busy and under discard, and all the allocation routines will 67 * the AGF lock, we can safely discard it without holding the AGF lock because [all …]
|
| H A D | xfs_extent_busy.h | 26 #define XFS_EXTENT_BUSY_DISCARDED 0x01 /* undergoing a discard op. */ 27 #define XFS_EXTENT_BUSY_SKIP_DISCARD 0x02 /* do not discard */ 32 * to discard completion.
|
| /linux/Documentation/admin-guide/ |
| H A D | jfs.rst | 52 discard=minlen, discard/nodiscard(*) 53 This enables/disables the use of discard/TRIM commands. 54 The discard/TRIM commands are sent to the underlying 60 When no value is given to the discard option, it defaults to 62 The minlen value of discard overrides the minlen value given
|
| /linux/tools/perf/tests/shell/ |
| H A D | test_arm_spe.sh | 111 echo "SPE discard mode" 114 if [ -e "$f/format/discard" ]; then 121 arm_spe_report "SPE discard mode not present" 2 127 # runs on an instance with discard mode otherwise we're not testing 129 perf record -o ${perfdata} -e arm_spe/discard/ -N -B --no-bpf-event \ 133 arm_spe_report "SPE discard mode found unexpected data" 1 135 arm_spe_report "SPE discard mode" 0
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_protocol.h | 60 /* REQ_OP_DISCARD. We used "discard" in different contexts before, 193 /* supports TRIM/DISCARD on the "wire" protocol */ 196 /* Detect all-zeros during resync, and rather TRIM/UNMAP/DISCARD those blocks 204 * max discard size of 128 MiB 213 * We used to map that to "discard" on the sending side, and if we cannot 214 * guarantee that discard zeroes data, the receiving side would map discard 229 * If we cannot distinguish between zero-out and discard on the receiving 234 * unmap/trim/discard/de-allocate. 238 * or if we want to put the emphasis on discard, and only do a "best effort 239 * zeroing" (by "discarding" blocks aligned to discard-granularity, and zeroing [all …]
|
| /linux/include/uapi/linux/ |
| H A D | virtio_blk.h | 41 #define VIRTIO_BLK_F_DISCARD 13 /* DISCARD is supported */ 96 * The maximum discard sectors (in 512-byte sectors) for 101 * The maximum number of discard segments in a 102 * discard command. 105 /* Discard commands must be aligned to this number of sectors. */ 179 /* Discard command */ 297 /* Discard/write zeroes range for each request. */ 299 /* discard/write zeroes start sector */ 301 /* number of discard/write zeroes sectors */
|
| /linux/drivers/misc/mei/ |
| H A D | interrupt.c | 60 * mei_irq_discard_msg - discard received message 64 * @discard_len: the length of the message to discard (excluding header) 119 goto discard; in mei_cl_irq_read_msg() 123 goto discard; in mei_cl_irq_read_msg() 139 goto discard; in mei_cl_irq_read_msg() 156 goto discard; in mei_cl_irq_read_msg() 166 goto discard; in mei_cl_irq_read_msg() 177 goto discard; in mei_cl_irq_read_msg() 183 goto discard; in mei_cl_irq_read_msg() 188 goto discard; in mei_cl_irq_read_msg() [all …]
|
| /linux/include/linux/ |
| H A D | annotate.h | 17 __stringify(__ASM_ANNOTATE(.discard.annotate_insn, label, type)) 21 __stringify(__ASM_ANNOTATE(.discard.annotate_insn, 911b, type)) 25 __stringify(__ASM_ANNOTATE(.discard.annotate_data, 912b, type)) 31 __ASM_ANNOTATE(.discard.annotate_insn, .Lhere_\@, \type) 36 __ASM_ANNOTATE(.discard.annotate_data, .Lhere_\@, \type)
|
| /linux/net/wireless/ |
| H A D | wext-proc.c | 62 stats->discard.nwid, stats->discard.code, in wireless_seq_printf_stats() 63 stats->discard.fragment, stats->discard.retries, in wireless_seq_printf_stats() 64 stats->discard.misc, stats->miss.beacon); in wireless_seq_printf_stats()
|
| /linux/Documentation/bpf/ |
| H A D | ringbuf.rst | 93 discarded. Discard is similar to commit, but makes consumer ignore the 112 The difference between commit and discard is very small. Discard just marks 114 code. Discard is useful for some advanced use-cases, such as ensuring 120 impossible to reserve a record, but forget to submit (or discard) it. 137 ``BPF_RB_NO_WAKEUP``/``BPF_RB_FORCE_WAKEUP`` flags for output/commit/discard 168 record is still being worked on, and discard bit, which might be set at commit 204 notifications, commit/discard/output helpers accept ``BPF_RB_NO_WAKEUP`` and
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | zboot.lds | 52 /DISCARD/ : { 53 *(.discard .discard.*)
|
| /linux/net/dccp/ |
| H A D | input.c | |
| /linux/fs/exfat/ |
| H A D | super.c | 142 if (opts->discard) in exfat_show_options() 143 seq_puts(m, ",discard"); in exfat_show_options() 180 if (opts->discard) in exfat_force_shutdown() 181 opts->discard = 0; in exfat_force_shutdown() 256 fsparam_flag_no("discard", Opt_discard), 312 opts->discard = !result.negated; in exfat_parse_param() 669 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super() 670 exfat_warn(sb, "mounting with \"discard\" option, but the device does not support discard"); in exfat_fill_super() 671 opts->discard = 0; in exfat_fill_super() 795 if (new_opts->discard != cur_opts->discard && in exfat_reconfigure() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | yamon-dt.h | 16 * @discard: Length of additional memory to discard after the region. 21 phys_addr_t discard; member
|
| /linux/block/ |
| H A D | blk-lib.c | 25 * Make sure subsequent bios start aligned to the discard granularity if in bio_discard_limit() 32 * Align the bio size to the discard granularity to make splitting the bio in bio_discard_limit() 33 * at discard granularity boundaries easier in the driver if needed. in bio_discard_limit() 76 * blkdev_issue_discard - queue a discard 77 * @bdev: blockdev to issue discard for 79 * @nr_sects: number of sectors to discard 83 * Issue a discard request for the sectors in question.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-f2fs | 104 Description: Controls the issue rate of discard commands that consist of small 112 Description: Controls the maximum ordered discard, the unit size is one block(4KB). 119 Higher number will allow the discard thread to finish its work 125 Description: Controls the interval the discard thread will wait between 126 issuing discard requests when there are discards to be issued and 132 Description: Controls the interval the discard thread will wait between 133 issuing discard requests when there are discards to be issued and 139 Description: Controls the interval the discard thread will wait when there are 140 no discard operations to be issued. 145 Description: Controls discard granularity of inner discard thread. Inner thread [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-arm-spe.txt | 25 3. Optionally discard the record based on a filter 44 Optionally discard the record based on a filter 47 Based on programmable criteria, choose whether to keep the record or discard it. If the record is 151 …discard=1 - enable SPE PMU events but don't collect sample data - see 'Discard mode' (PM… 312 Discard mode 316 collecting sample data if discard mode is supported (optional from Armv8.6). 320 perf record -e arm_spe/discard/ -a -N -B --no-bpf-event -o - > /dev/null &
|
| /linux/include/uapi/asm-generic/ |
| H A D | termbits-common.h | 62 #define TCIFLUSH 0 /* Discard data received but not yet read */ 63 #define TCOFLUSH 1 /* Discard data written but not yet sent */ 64 #define TCIOFLUSH 2 /* Discard all pending data */
|
| /linux/arch/sparc/vdso/ |
| H A D | vdso-layout.lds.S | 76 /DISCARD/ : { 77 *(.discard) 78 *(.discard.*)
|
| /linux/arch/arm64/kernel/vdso/ |
| H A D | vdso.lds.S | 36 * Discard .note.gnu.property sections which are unused and have 39 /DISCARD/ : { 77 /DISCARD/ : {
|
| /linux/drivers/md/dm-vdo/ |
| H A D | data-vio.c | 83 * for which a data_vio or discard permit are not available will block until the necessary 89 * The pool contains two "limiters", one for tracking data_vios and one for tracking discard 92 * get a discard permit if it is a discard, and then to get a data_vio. If the necessary resources 108 * each data_vio, it first checks whether that data_vio was processing a discard. If so, and there 109 * is a blocked bio waiting for a discard permit, that permit is notionally transferred to the 110 * eldest discard waiter, and that waiter is moved to the end of the list of discard bios waiting 111 * for a data_vio. If there are no discard waiters, the discard permit is returned to the pool. 112 * Next, the data_vio is assigned to the oldest blocked bio which either has a discard permit, or 168 /* The limiter controlling data_vios for discard */ 170 /* The list of bios which have discard permits but still need a data_vio */ [all …]
|