This is a note to let you know that I've just added the patch titled
dm cache: move hook_info into common portion of per_bio_data structure
to the 3.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
dm-cache-move-hook_info-into-common-portion-of-per_bio_data-structure.patch
and it can be found in the queue-3.13 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From c6eda5e81c4fcc77185117255c7419eda771f67f Mon Sep 17 00:00:00 2001
From: Mike Snitzer <[email protected]>
Date: Fri, 31 Jan 2014 14:11:54 -0500
Subject: dm cache: move hook_info into common portion of per_bio_data structure
From: Mike Snitzer <[email protected]>
commit c6eda5e81c4fcc77185117255c7419eda771f67f upstream.
Commit c9d28d5d ("dm cache: promotion optimisation for writes")
incorrectly placed the 'hook_info' member in the writethrough-only
portion of the per_bio_data structure.
Given that the overwrite optimization may be used for writeback the
'hook_info' member must be placed above the 'cache' member of the
per_bio_data structure. Any members above 'cache' are available from
both writeback and writethrough modes' per_bio_data structure.
Signed-off-by: Mike Snitzer <[email protected]>
Acked-by: Joe Thornber <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/md/dm-cache-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/md/dm-cache-target.c
+++ b/drivers/md/dm-cache-target.c
@@ -283,6 +283,7 @@ struct per_bio_data {
bool tick:1;
unsigned req_nr:2;
struct dm_deferred_entry *all_io_entry;
+ struct dm_hook_info hook_info;
/*
* writethrough fields. These MUST remain at the end of this
@@ -291,7 +292,6 @@ struct per_bio_data {
*/
struct cache *cache;
dm_cblock_t cblock;
- struct dm_hook_info hook_info;
struct dm_bio_details bio_details;
};
Patches currently in stable-queue which might be from [email protected] are
queue-3.13/dm-mpath-fix-stalls-when-handling-invalid-ioctls.patch
queue-3.13/dm-thin-avoid-metadata-commit-if-a-pool-s-thin-devices-haven-t-changed.patch
queue-3.13/dm-thin-fix-the-error-path-for-the-thin-device-constructor.patch
queue-3.13/dm-cache-move-hook_info-into-common-portion-of-per_bio_data-structure.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html