From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyRFj-00085r-PB for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:52:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyRFd-000830-5h for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:52:10 -0400 Received: from [199.232.76.173] (port=54060 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyRFc-00082o-U2 for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:52:04 -0400 Received: from mail2.shareable.org ([80.68.89.115]:33610) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LyRFc-0007kw-7z for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:52:04 -0400 Date: Mon, 27 Apr 2009 14:52:00 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Move block format drivers to new directory 'bdrv' Message-ID: <20090427135200.GA4885@shareable.org> References: <1240759177-27527-1-git-send-email-avi@redhat.com> <20090426152943.GA27812@lst.de> <49F483E8.4050005@redhat.com> <49F489B7.5000705@redhat.com> <49F49CB8.2090001@codemonkey.ws> <49F5A1A9.2030704@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49F5A1A9.2030704@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Blue Swirl , Avi Kivity , Christoph Hellwig , qemu-devel@nongnu.org Kevin Wolf wrote: > We should be careful not to put each file into its own directory. A > layout is good if it helps me to find the right file more quickly. If I > have the same problem finding the right directory (or just having to > change the working directory all the time) afterwards, I think it's not > worth the effort. The way Linux dealt with this is long ago there were only a few directories in drivers/ and a few top-level directories. Block devices went in drivers/block/, most other devices in drivers/char, and there were only a few top-level directories. That went on for many years. Then as the number of drivers and kernel subsystems grew too big, they added more and more specialised directories. Now we have a lot of directories under drivers/, and a few more at the top level. With GIT handling renames, adding more directories in future as needed and moving things into them might be quite straightforward, I'm not sure. -- Jamie