Re: [PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-19 Thread James Bottomley
On Mon, 2016-09-19 at 09:11 +, Gurunath, Vasundhara (STSD) wrote: > James Bottomley wrote: > > > > From: "Gurunath, Vasundhara" > > > > > > SCSI block device can be removed, using write to sysfs delete > > > file as > > > below: > > >

[PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-19 Thread Gurunath, Vasundhara (STSD)
James Bottomley wrote: >> From: "Gurunath, Vasundhara" >> >> SCSI block device can be removed, using write to sysfs delete file as >> below: >> echo 1 > /sys/block/sdX/device/delete If the device is in use by >> applications, or part of

Re: [PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-13 Thread Ewan D. Milne
On Tue, 2016-09-13 at 22:08 +0530, Gurunath, Vasundhara wrote: > From: "Gurunath, Vasundhara" > > SCSI block device can be removed, using write to sysfs > delete file as below: > echo 1 > /sys/block/sdX/device/delete > If the device is in use by applications, or part

Re: [PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-13 Thread James Bottomley
On Tue, 2016-09-13 at 22:08 +0530, Gurunath, Vasundhara wrote: > From: "Gurunath, Vasundhara" > > SCSI block device can be removed, using write to sysfs > delete file as below: > echo 1 > /sys/block/sdX/device/delete > If the device is in use by applications, or part

[PATCH] scsi:Prevent deletion of SCSI block device in use

2016-09-13 Thread Gurunath, Vasundhara
From: "Gurunath, Vasundhara" SCSI block device can be removed, using write to sysfs delete file as below: echo 1 > /sys/block/sdX/device/delete If the device is in use by applications, or part of system configuration such as boot device, removal can result in

Re: [PATCH] scsi:Prevent deletion of SCSI block device in use

2016-08-22 Thread kbuild test robot
Hi Vasundhara, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.8-rc3 next-20160822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

[PATCH] scsi:Prevent deletion of SCSI block device in use

2016-08-19 Thread Vasundhara Gurunath
SCSI block device can be removed, using write to sysfs delete file as below: echo 1 > /sys/block/sdX/device/delete If the device is in use by applications, or part of system configuration such as boot device, removal can result in application disruptions or system down time. An additional write