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 08-29-2010, 05:59 PM
Malahal Naineni
 
Default imported patch sync-no_cluster-with-cluster-flag.patch

diff -r 8305d08f6ecf -r 5e7598cf7714 drivers/scsi/scsi_lib.c
--- a/drivers/scsi/scsi_lib.c Wed Aug 25 13:44:33 2010 -0700
+++ b/drivers/scsi/scsi_lib.c Wed Aug 25 13:44:33 2010 -0700
@@ -1633,8 +1633,10 @@ struct request_queue *__scsi_alloc_queue
blk_queue_max_segment_size(q, dma_get_max_seg_size(dev));

/* New queue, no concurrency on queue_flags */
- if (!shost->use_clustering)
+ if (!shost->use_clustering) {
queue_flag_clear_unlocked(QUEUE_FLAG_CLUSTER, q);
+ q->limits.no_cluster = 1;
+ }

/*
* set a reasonable default alignment on word boundaries: the

--
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 08:57 AM.

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