Merge tag 'perf-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / include / linux / writeback.h
index 46020373e155be0a1b4345a2e7b983f3b68987cf..fba937999fbfd344ceda7b52f61ff6b57c81ce38 100644 (file)
@@ -70,8 +70,6 @@ struct writeback_control {
         */
        unsigned no_cgroup_owner:1;
 
-       unsigned punt_to_cgroup:1;      /* cgrp punting, see __REQ_CGROUP_PUNT */
-
        /* To enable batching of swap writes to non-block-device backends,
         * "plug" can be set point to a 'struct swap_iocb *'.  When all swap
         * writes have been submitted, if with swap_iocb is not NULL,
@@ -97,9 +95,6 @@ static inline blk_opf_t wbc_to_write_flags(struct writeback_control *wbc)
 {
        blk_opf_t flags = 0;
 
-       if (wbc->punt_to_cgroup)
-               flags = REQ_CGROUP_PUNT;
-
        if (wbc->sync_mode == WB_SYNC_ALL)
                flags |= REQ_SYNC;
        else if (wbc->for_kupdate || wbc->for_background)