hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/xfs/xfs_buf_item.h
....@@ -39,7 +39,7 @@
3939 * locked, and which 128 byte chunks of the buffer are dirty.
4040 */
4141 struct xfs_buf_log_item {
42
- xfs_log_item_t bli_item; /* common item structure */
42
+ struct xfs_log_item bli_item; /* common item structure */
4343 struct xfs_buf *bli_buf; /* real buffer pointer */
4444 unsigned int bli_flags; /* misc flags */
4545 unsigned int bli_recur; /* lock recursion count */
....@@ -50,17 +50,26 @@
5050 };
5151
5252 int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *);
53
+void xfs_buf_item_done(struct xfs_buf *bp);
5354 void xfs_buf_item_relse(struct xfs_buf *);
5455 bool xfs_buf_item_put(struct xfs_buf_log_item *);
5556 void xfs_buf_item_log(struct xfs_buf_log_item *, uint, uint);
5657 bool xfs_buf_item_dirty_format(struct xfs_buf_log_item *);
57
-void xfs_buf_attach_iodone(struct xfs_buf *,
58
- void(*)(struct xfs_buf *, xfs_log_item_t *),
59
- xfs_log_item_t *);
60
-void xfs_buf_iodone_callbacks(struct xfs_buf *);
61
-void xfs_buf_iodone(struct xfs_buf *, struct xfs_log_item *);
62
-bool xfs_buf_resubmit_failed_buffers(struct xfs_buf *,
63
- struct list_head *);
58
+void xfs_buf_inode_iodone(struct xfs_buf *);
59
+void xfs_buf_inode_io_fail(struct xfs_buf *bp);
60
+#ifdef CONFIG_XFS_QUOTA
61
+void xfs_buf_dquot_iodone(struct xfs_buf *);
62
+void xfs_buf_dquot_io_fail(struct xfs_buf *bp);
63
+#else
64
+static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp)
65
+{
66
+}
67
+static inline void xfs_buf_dquot_io_fail(struct xfs_buf *bp)
68
+{
69
+}
70
+#endif /* CONFIG_XFS_QUOTA */
71
+void xfs_buf_iodone(struct xfs_buf *);
72
+bool xfs_buf_log_check_iovec(struct xfs_log_iovec *iovec);
6473
6574 extern kmem_zone_t *xfs_buf_item_zone;
6675