Home
last modified time | relevance | path

Searched full:intent (Results 1 – 25 of 160) sorted by relevance

1234567

/linux/fs/xfs/libxfs/
H A Dxfs_defer.c51 * requires us to log "intent" items in case log recovery needs to
57 * have not yet had an intent logged) are attached to a pending item
67 * - Create a log intent item for that type.
81 * log intent item.
82 * - For each work item attached to the log intent item,
90 * The key here is that we must log an intent item for all pending
93 * we can perform complex remapping operations, chaining intent items
105 * item to prevent the log intent item from replaying, immediately log
106 * a new log intent item with the unfinished work items, roll the
108 * log done item and the new log intent ite
199 xfs_defer_barrier_abort_intent(struct xfs_log_item * intent) xfs_defer_barrier_abort_intent() argument
207 xfs_defer_barrier_create_done(struct xfs_trans * tp,struct xfs_log_item * intent,unsigned int count) xfs_defer_barrier_create_done() argument
[all...]
H A Dxfs_log_recover.h46 * If the recovered item is an intent item, this function should parse
47 * the recovered item to construct an in-core log intent item and
48 * insert it into the AIL. The in-core log intent item should have 1
50 * recovered log item for the intent-done item; (b) replay the work and
51 * log a new intent-done item; or (c) recovery fails and we have to
54 * If the recovered item is an intent-done item, this function should
55 * parse the recovered item to find the id of the corresponding intent
56 * log item. Next, it should find the in-core log intent item in the
147 * intent item.
149 * Intent recovery only runs a single step of the transaction chain and defers
[all …]
H A Dxfs_defer.h14 * Save a log intent item and a list of extents, so that we can replay
21 struct xfs_log_item *dfp_intent; /* log intent item */
29 * Create a log intent item for this deferred item, but don't actually finish
54 void (*abort_intent)(struct xfs_log_item *intent);
56 struct xfs_log_item *intent, unsigned int count);
65 struct xfs_log_item *intent,
H A Dxfs_log_format.h236 #define XFS_LI_RUI 0x1240 /* rmap update intent */
238 #define XFS_LI_CUI 0x1242 /* refcount update intent */
240 #define XFS_LI_BUI 0x1244 /* bmbt update intent */
242 #define XFS_LI_ATTRI 0x1246 /* attr set/remove intent*/
244 #define XFS_LI_XMI 0x1248 /* mapping exchange intent */
246 #define XFS_LI_EFI_RT 0x124a /* realtime extent free intent */
248 #define XFS_LI_RUI_RT 0x124c /* realtime rmap update intent */
250 #define XFS_LI_CUI_RT 0x124e /* realtime refcount update intent */
/linux/fs/xfs/
H A Dxfs_drain.h33 * Deferred Work Intent Drains
36 * When a writer thread executes a chain of log intent items, the AG header
37 * buffer locks will cycle during a transaction roll to get from one intent
48 * scrub wait until it has both AG header buffer locks and the intent counter
50 * AGI or AGF buffers when decrementing the intent counter.
57 * sub-items (such as RUIs) must bump the intent counter and maintain it until
58 * the sub-items can themselves bump the intent counter.
60 * Therefore, the intent count tracks entire lifetimes of deferred work items.
61 * All functions that create work items must increment the intent counter as
H A Dxfs_bmap_item.c251 /* Log bmap updates in the intent item. */
314 struct xfs_log_item *intent, in xfs_bmap_update_create_done() argument
317 struct xfs_bui_log_item *buip = BUI_ITEM(intent); in xfs_bmap_update_create_done()
341 * Bump the intent count on behalf of the deferred rmap and refcount in xfs_bmap_update_get_group()
342 * intent items that we can queue when we finish this bmap work. in xfs_bmap_update_get_group()
343 * This new intent item will bump the intent count before the bmap in xfs_bmap_update_get_group()
344 * intent drops the intent count, ensuring that the intent coun in xfs_bmap_update_get_group()
412 xfs_bmap_update_abort_intent(struct xfs_log_item * intent) xfs_bmap_update_abort_intent() argument
576 xfs_bmap_relog_intent(struct xfs_trans * tp,struct xfs_log_item * intent,struct xfs_log_item * done_item) xfs_bmap_relog_intent() argument
[all...]
H A Dxfs_rmap_item.c273 /* Log rmap updates in the intent item. */
374 struct xfs_log_item *intent, in xfs_rmap_update_create_done() argument
377 struct xfs_rui_log_item *ruip = RUI_ITEM(intent); in xfs_rmap_update_create_done()
461 struct xfs_log_item *intent) in xfs_rmap_update_abort_intent() argument
463 xfs_rui_release(RUI_ITEM(intent)); in xfs_rmap_update_abort_intent()
563 * Process an rmap update intent item that was recovered from the log.
623 /* Relog an intent item to push the log tail forward. */
627 struct xfs_log_item *intent, in xfs_rmap_relog_intent() argument
634 ASSERT(intent->li_type == XFS_LI_RUI || in xfs_rmap_relog_intent()
635 intent in xfs_rmap_relog_intent()
[all...]
H A Dxfs_refcount_item.c272 /* Log refcount updates in the intent item. */
349 struct xfs_log_item *intent, in xfs_refcount_update_create_done() argument
352 struct xfs_cui_log_item *cuip = CUI_ITEM(intent); in xfs_refcount_update_create_done()
442 struct xfs_log_item *intent) in xfs_refcount_update_abort_intent() argument
444 xfs_cui_release(CUI_ITEM(intent)); in xfs_refcount_update_abort_intent()
498 * Process a refcount update intent item that was recovered from the log.
570 /* Relog an intent item to push the log tail forward. */
574 struct xfs_log_item *intent, in xfs_refcount_relog_intent() argument
581 ASSERT(intent->li_type == XFS_LI_CUI || in xfs_refcount_relog_intent()
582 intent->li_type == XFS_LI_CUI_RT); in xfs_refcount_relog_intent()
[all …]
H A Dxfs_exchmaps_item.c210 /* Log file mapping exchange information in the intent item. */
247 struct xfs_log_item *intent, in xfs_exchmaps_create_done() argument
250 struct xfs_xmi_log_item *xmi_lip = XMI_ITEM(intent); in xfs_exchmaps_create_done()
318 struct xfs_log_item *intent) in xfs_exchmaps_abort_intent() argument
320 xfs_xmi_release(XMI_ITEM(intent)); in xfs_exchmaps_abort_intent()
362 * requirements, and create a new incore intent state.
498 /* Relog an intent item to push the log tail forward. */
502 struct xfs_log_item *intent, in xfs_exchmaps_relog_intent() argument
508 old_xlf = &XMI_ITEM(intent)->xmi_format; in xfs_exchmaps_relog_intent()
H A Dxfs_attr_item.h
H A Dxfs_log_recover.c1718 * Release the recovered intent item in the AIL that matches the given intent
1719 * type and intent id.
1770 * Log intent items that target inodes effectively contain a file handle.
1771 * Check that the generation number matches the intent item like we do for
1772 * other file handles. Log intent items defined after this validation weakness
1984 * log intent item that was found during recovery.
1998 * Insert the intent into the AIL directly and drop one reference so in xlog_recover_intent_item()
2554 * from recovering a single intent item. in xlog_finish_defer_ops()
2584 * When this is called, all of the log intent item
[all...]
/linux/include/uapi/linux/
H A Dmembarrier.h57 * registration is about the intent to receive
62 * Register the process intent to receive
82 * intent to use the private expedited command
86 * Register the process intent to use
108 * intent to use the private expedited sync
112 * Register the process intent to use
128 * intent to use the private expedited rseq
132 * Register the process intent to use
/linux/include/linux/
H A Dlru_cache.h48 This is known as "write intent log", and can be implemented as on-disk
53 in-flight WRITE IO, e.g. by only lazily clearing the on-disk write-intent
73 write intent log information, three of which are mentioned here.
76 The on-disk "dirty bitmap" may be re-used as "write-intent" bitmap as well.
77 To reduce the frequency of bitmap updates for write-intent log purposes,
84 "Explicit (coarse) write intent bitmap"
86 for write-intent log purposes, additionally to the fine grained dirty bitmap.
/linux/Documentation/ABI/testing/
H A Dsysfs-class-fpga-manager12 The intent is to provide enough detail that if something goes
44 error or incompatible bitstream image. The intent of this
/linux/fs/xfs/scrub/
H A Dreap.c547 * Compute the maximum number of intent items that reaping can attach to the
548 * scrub transaction given the worst case log overhead of the intent items
560 * In the worst case, relogging an intent item causes both an intent in xreap_configure_agextent_limits()
626 * Compute the maximum number of intent items that reaping can attach to the
627 * scrub transaction given the worst case log overhead of the intent items
639 * In the worst case, relogging an intent item causes both an intent in xreap_configure_agcow_limits()
1017 * Compute the maximum number of intent items that reaping can attach to the
1018 * scrub transaction given the worst case log overhead of the intent item
[all...]
/linux/fs/smb/client/
H A Dcifs_fs_sb.h36 #define CIFS_MOUNT_CIFS_BACKUPUID 0x200000 /* backup intent bit for a user */
37 #define CIFS_MOUNT_CIFS_BACKUPGID 0x400000 /* backup intent bit for a group */
/linux/drivers/net/
H A DLICENSE.SRC12 intent in sharing this software is to promote the productive interchange
/linux/tools/testing/selftests/net/
H A Dtoeplitz_client.sh
/linux/Documentation/security/
H A Dlsm-development.rst6 a new LSM is accepted into the kernel when its intent (a description of
/linux/drivers/net/ethernet/myricom/
H A DKconfig43 is used, with the intent of lessening the impact of cache misses.
/linux/fs/coda/
H A Dcoda_fs_i.h43 bool cfi_access_intent; /* is access intent supported */
/linux/arch/arc/include/asm/
H A Delf.h68 * intent than poking at uname or /proc/cpuinfo.
/linux/arch/openrisc/include/asm/
H A Delf.h54 intent than poking at uname or /proc/cpuinfo.
/linux/Documentation/admin-guide/cifs/
H A Dintroduction.rst24 The intent of this module is to provide the most advanced network
/linux/arch/csky/include/asm/
H A Delf.h80 * libraries for optimization. This is more specific in intent than poking

1234567