Re: [PATCH 6/8] SCSI: implement sd_unlock_native_capacity()

From: Ben Hutchings
Date: Sun May 16 2010 - 11:08:15 EST


On Sun, 2010-05-16 at 08:39 -0500, James Bottomley wrote:
[...]
> Then there's no need for anything at all in SCSI ... and it becomes a
> whole lot more obvious how to do legacy ide (if we ever get problems
> there).

The block device set_capacity() interface is already defined and was
implemented for the IDE disk driver some time ago. The purpose of
Tejun's work on sd and libata is to implement this existing interface
and so avoid a regression when users switch from IDE to libata-based
drivers. I don't see why he should have to replace the interface as
well.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part