]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxfs/libxfs_priv.h
xfs: add bmapi nodiscard flag
[thirdparty/xfsprogs-dev.git] / libxfs / libxfs_priv.h
index 1508d9a21b8ae241a22e56ab1fc7fc0ccf4d81b7..995ea644d1aae006ccf1738021647ec51213850c 100644 (file)
@@ -437,6 +437,9 @@ roundup_64(uint64_t x, uint32_t y)
 })
 
 /* space allocation */
+#define XFS_EXTENT_BUSY_DISCARDED      0x01    /* undergoing a discard op. */
+#define XFS_EXTENT_BUSY_SKIP_DISCARD   0x02    /* do not discard */
+
 #define xfs_extent_busy_reuse(mp,ag,bno,len,user)      ((void) 0)
 /* avoid unused variable warning */
 #define xfs_extent_busy_insert(tp,ag,bno,len,flags)({  \