Received: from eggs.gnu.org ([2001:4830:134:3::10]:48831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byhQJ-0003Bu-RL for qemu-devel@nongnu.org; Mon, 24 Oct 2016 11:44:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byhQI-0001vq-Qs for qemu-devel@nongnu.org; Mon, 24 Oct 2016 11:44:27 -0400 References: <1476925867-24748-1-git-send-email-eblake@redhat.com> <20161024134750.GC4374@noname.redhat.com> From: Eric Blake Message-ID: <7da03467-e8bd-1bfa-b0c6-4ccf27e79d82@redhat.com> Date: Mon, 24 Oct 2016 10:44:18 -0500 MIME-Version: 1.0 In-Reply-To: <20161024134750.GC4374@noname.redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WlhsstCQ5RiFTDKaCDoQIJxGluW2H3o9N" Subject: Re: [Qemu-devel] [PATCH 0/2] less confusing block file names List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, berrange@redhat.com, qemu-block@nongnu.org, stefanha@redhat.com, mreitz@redhat.com, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WlhsstCQ5RiFTDKaCDoQIJxGluW2H3o9N From: Eric Blake To: Kevin Wolf Cc: qemu-devel@nongnu.org, berrange@redhat.com, qemu-block@nongnu.org, stefanha@redhat.com, mreitz@redhat.com, armbru@redhat.com Message-ID: <7da03467-e8bd-1bfa-b0c6-4ccf27e79d82@redhat.com> Subject: Re: [PATCH 0/2] less confusing block file names References: <1476925867-24748-1-git-send-email-eblake@redhat.com> <20161024134750.GC4374@noname.redhat.com> In-Reply-To: <20161024134750.GC4374@noname.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/24/2016 08:47 AM, Kevin Wolf wrote: > Am 20.10.2016 um 03:11 hat Eric Blake geschrieben: >> Based on a suggestion here: >> https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg00350.html >> >> Eric Blake (2): >> block: Rename raw_bsd to raw.c >> block: rename raw-{posix,win32} to file-*.c >=20 > Seems to do what it promises: > Reviewed-by: Kevin Wolf >=20 > I'd like to hear a few more opinions on whether it's a good idea, but I= > don't think this should stay for too long on the list because we alread= y > have conflicting patches. On the bright side, git with rename detection enabled is generally able to patch the correct file, even after a rename. >=20 > One effect that makes me less than fully happy is that 'git log > block/raw.c' without --follow mixes the history of the renamed driver > with the history of the old, differently licensed one. On the other > hand, the removal of the old driver happened three years ago, so it's > probably unlikely that people confuse what belongs to which one and > revive old code accidentally. I guess knowing the history explains the current file name; and as you mentioned, we're starting to get far enough away from the point the file was created that the history of the name is less relevant and less likely to cause mistakes in code motion. And it's not the first time we've reused a file name within the tree (look at the history of top-level qjson.c, which has existed twice before being moved to another location twice). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --WlhsstCQ5RiFTDKaCDoQIJxGluW2H3o9N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYDixSAAoJEKeha0olJ0NqnfQH/Ax7eVjr7izNntuHpD4OxiSh t0Tryi00fWJ7l6lpjL0e+7OT7fE8LcqQWufxLgAtGLSsFeKTw2nnSlioYPBKCuXs yi9AGnt/bknd2cHT6BelXIKwjs9WSw5L/sm9p3CT8cL9tU3/S756Ao9qkwGQ4RvZ DVLZ31V/1xak/MLWETVGcOg7zghM/0tEllSwghtnQ0Np4e0s5obAztpDHUBDnQY0 M0MkzijHuoepZrRJBHTlw1EWWkRtyNssqdOAXf5NmZISZ5lRXhNCnjP58nVGZpdn cXRDpGh5McprLcYSlSyJxsbkwB/b5scQuk9a2LaONtrk/ASLePZx/3JJ5qdr7oI= =v68z -----END PGP SIGNATURE----- --WlhsstCQ5RiFTDKaCDoQIJxGluW2H3o9N--