]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm cache: remove all obsolete writethrough-specific code
authorMike Snitzer <snitzer@redhat.com>
Thu, 19 Oct 2017 21:30:20 +0000 (17:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 07:48:24 +0000 (09:48 +0200)
commitb61727de55249d2754a93f4ea617ade1e329b22a
tree82329c20b15ccc4e4ac51fc9764b50c178353ee3
parent8036335f8f4feddcdc118c4442e6e7af9c8116d8
dm cache: remove all obsolete writethrough-specific code

commit 9958f1d9a04efb3db19134482b3f4c6897e0e7b8 upstream.

Now that the writethrough code is much simpler there is no need to track
so much state or cascade bio submission (as was done, via
writethrough_endio(), to issue origin then cache IO in series).

As such the obsolete writethrough list and workqueue is also removed.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-cache-target.c