From mboxrd@z Thu Jan 1 00:00:00 1970 From: bmarzins@sourceware.org Date: 19 Jun 2007 22:34:07 -0000 Subject: [Cluster-devel] cluster/gnbd-kernel/src gnbd.c Message-ID: <20070619223407.30529.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: bmarzins at sourceware.org 2007-06-19 22:34:07 Modified files: gnbd-kernel/src: gnbd.c Log message: GNBD doesn't need to flush the cache after it looses connection with the server.Either it will be multipathed, and the multipath device will own the cache, or it won't and flushing the cache will get you nothing more than a flood of error messages all at once, instead of a stream. Related: bz 242794 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd-kernel/src/gnbd.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.2&r2=1.15.2.3 --- cluster/gnbd-kernel/src/gnbd.c 2006/12/18 18:15:27 1.15.2.2 +++ cluster/gnbd-kernel/src/gnbd.c 2007/06/19 22:34:07 1.15.2.3 @@ -713,8 +713,10 @@ bdev = dev->bdev; if (bdev) { blk_run_queue(dev->disk->queue); +#if 0 fsync_bdev(bdev); invalidate_bdev(bdev, 0); +#endif } up(&dev->do_it_lock); return 0;