Re: Time to make dynamically allocated devt the default for scsi disks?

2016-08-13 Thread James Bottomley
On Sat, 2016-08-13 at 09:29 -0700, Dan Williams wrote: > On Sat, Aug 13, 2016 at 8:23 AM, James Bottomley > wrote: > > It does? The race is the fact that the parent can be removed > > before the child meaning if the parent name is re-registered before > > the child dies we get a duplicate name

Re: Time to make dynamically allocated devt the default for scsi disks?

2016-08-13 Thread Dan Williams
On Sat, Aug 13, 2016 at 8:23 AM, James Bottomley wrote: > On Fri, 2016-08-12 at 21:57 -0700, Dan Williams wrote: >> On Fri, Aug 12, 2016 at 5:29 PM, Dan Williams < >> dan.j.willi...@intel.com> wrote: >> > On Fri, Aug 12, 2016 at 5:17 PM, James Bottomley >> > wrote: >> > > On Fri, 2016-08-12 at 14

Re: Time to make dynamically allocated devt the default for scsi disks?

2016-08-13 Thread James Bottomley
On Fri, 2016-08-12 at 21:57 -0700, Dan Williams wrote: > On Fri, Aug 12, 2016 at 5:29 PM, Dan Williams < > dan.j.willi...@intel.com> wrote: > > On Fri, Aug 12, 2016 at 5:17 PM, James Bottomley > > wrote: > > > On Fri, 2016-08-12 at 14:29 -0700, Dan Williams wrote: > > > > Before spending effort tr

Re: Time to make dynamically allocated devt the default for scsi disks?

2016-08-13 Thread Tejun Heo
Hello, Dan. On Fri, Aug 12, 2016 at 02:29:30PM -0700, Dan Williams wrote: > Before spending effort trying to flush the destruction of old bdi > instances before new ones are registered, is it rather time to > complete the conversion of sd to only use dynamically allocated devt? I think that proba

Re: [PATCH 1/2] libata-scsi: use dev->max_sectors from libata-core appropriately

2016-08-13 Thread Sergei Shtylyov
Hello. On 8/12/2016 5:36 PM, Tom Yan wrote: diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index be9c76c..4e2d8e7 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -1204,14 +1204,26 @@ static int ata_scsi_dev_config(struct scsi_device *sdev, i