Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161199AbWALTYF (ORCPT ); Thu, 12 Jan 2006 14:24:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161202AbWALTYF (ORCPT ); Thu, 12 Jan 2006 14:24:05 -0500 Received: from smtp.osdl.org ([65.172.181.4]:46305 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1161199AbWALTYE (ORCPT ); Thu, 12 Jan 2006 14:24:04 -0500 Date: Thu, 12 Jan 2006 11:23:54 -0800 (PST) From: Linus Torvalds To: Alexey Dobriyan cc: "Antonino A. Daplas" , Linux Kernel Mailing List , Andrew Morton , Jens Axboe Subject: Re: 2.6.15-$SHA1: VT <-> X sometimes odd In-Reply-To: <20060112192856.GA7938@mipter.zuzino.mipt.ru> Message-ID: References: <20060110162305.GA7886@mipter.zuzino.mipt.ru> <43C4F114.9070308@gmail.com> <20060111153822.GA7879@mipter.zuzino.mipt.ru> <20060112192856.GA7938@mipter.zuzino.mipt.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 39 On Thu, 12 Jan 2006, Alexey Dobriyan wrote: > > Now it's vim saving 5k proggie while X tarball was unpacking on reiserfs. > :wq and vim freezes. Switching to another virtual "desktops" works and > everything in general works except vim. But switching to VT and back > sends system to hell. This may be fixed by the current -git tree: commit 1bc691d3, Tejun Heo : [PATCH] fix queue stalling while barrier sequencing or if that isn't it, and you have an IDE drive, can you try if the appended trivial patch makes a difference? Linus --- diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index bcbaeb5..d726167 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c @@ -101,7 +101,7 @@ int __ide_end_request(ide_drive_t *drive * for those */ nbytes = nr_sectors << 9; - if (!rq->errors && rq_all_done(rq, nbytes)) { + if (0 && !rq->errors && rq_all_done(rq, nbytes)) { rq->data_len = nbytes; blkdev_dequeue_request(rq); HWGROUP(drive)->rq = NULL; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/