[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 13/18] xen: purge 'blk' and 'ioreq' from function names in dataplane/xen-qdisk.c
> -----Original Message----- > From: Anthony PERARD [mailto:anthony.perard@xxxxxxxxxx] > Sent: 04 December 2018 12:11 > To: Paul Durrant <Paul.Durrant@xxxxxxxxxx> > Cc: qemu-block@xxxxxxxxxx; qemu-devel@xxxxxxxxxx; xen- > devel@xxxxxxxxxxxxxxxxxxxx; Stefano Stabellini <sstabellini@xxxxxxxxxx>; > Stefan Hajnoczi <stefanha@xxxxxxxxxx>; Kevin Wolf <kwolf@xxxxxxxxxx>; Max > Reitz <mreitz@xxxxxxxxxx> > Subject: Re: [PATCH 13/18] xen: purge 'blk' and 'ioreq' from function > names in dataplane/xen-qdisk.c > > On Wed, Nov 21, 2018 at 03:12:06PM +0000, Paul Durrant wrote: > > This is a purely cosmetic patch that purges remaining use of 'blk' and > > 'ioreq' in local function names. > > > > No functional change. > > > > Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > > I don't think it's a good idee to use function names that could be use > elsewhere, don't have a namespace. It makes it more difficult to figure > out which function is called by just searching for the function name. > > Could you had a prefix? > Maybe xendisk_ or xen_disk or xen_qdisk or xen_block or ..., so we can > have xendisk_start_request, or xendisk_request_start. I don't have a > preference beside staying away from generic names. > I'll add a xen_block_ prefix. Paul > Thanks, > > -- > Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |