--- /dev/null
+Index: linux-4.18.0-240.22.1.el8.x86_64/include/linux/jbd2.h
+===================================================================
+--- linux-4.18.0-240.22.1.el8.x86_64.orig/include/linux/jbd2.h
++++ linux-4.18.0-240.22.1.el8.x86_64/include/linux/jbd2.h
+@@ -528,6 +528,17 @@ struct jbd2_journal_handle
+ unsigned int h_requested_credits;
+
+ unsigned int saved_alloc_context;
++
++ /* Number of buffers requested by user:
++ * (before adding the COW credits factor) */
++ RH_KABI_EXTEND(unsigned int h_base_credits:14)
++ /* Number of buffers the user is allowed to dirty:
++ * (counts only buffers dirtied when !h_cowing) */
++ RH_KABI_EXTEND(unsigned int h_user_credits:14)
++ /* COWing block to snapshot */
++ RH_KABI_EXTEND(unsigned int h_cowing:1)
++ /* in quota call path */
++ RH_KABI_EXTEND(unsigned int h_in_quota:1)
+ };
+
+
+Index: linux-4.18.0-240.22.1.el8.x86_64/include/linux/journal-head.h
+===================================================================
+--- linux-4.18.0-240.22.1.el8.x86_64.orig/include/linux/journal-head.h
++++ linux-4.18.0-240.22.1.el8.x86_64/include/linux/journal-head.h
+@@ -46,6 +46,11 @@ struct journal_head {
+ unsigned b_modified;
+
+ /*
++ * last transaction ID in which buffer was COWed [jbd_lock_bh_state()]
++ */
++ RH_KABI_FILL_HOLE(unsigned b_cow_tid)
++
++ /*
+ * Copy of the buffer data frozen for writing to the log.
+ * [jbd_lock_bh_state()]
+ */