FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 05-20-2012, 10:33 AM
Christophe Varoqui
 
Default multipath: fix select_no_path_retry for flushing devices.

On ven., 2012-05-18 at 17:33 -0500, Benjamin Marzinski wrote:
> The select_no_path_retry code was falling through if a flush was
> in progress, and so it wasn't honoring flush_on_last_del.
>
Applied.

> Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
> libmultipath/propsel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: multipath-tools-120403/libmultipath/propsel.c
> ================================================== =================
> --- multipath-tools-120403.orig/libmultipath/propsel.c
> +++ multipath-tools-120403/libmultipath/propsel.c
> @@ -415,6 +415,7 @@ select_no_path_retry(struct multipath *m
> if (mp->flush_on_last_del == FLUSH_IN_PROGRESS) {
> condlog(0, "flush_on_last_del in progress");
> mp->no_path_retry = NO_PATH_RETRY_FAIL;
> + return 0;
> }
> if (mp->mpe && mp->mpe->no_path_retry != NO_PATH_RETRY_UNDEF) {
> mp->no_path_retry = mp->mpe->no_path_retry;



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 12:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org