From: Mark Lord <kernel@start.ca>
To: Tejun Heo <tj@kernel.org>, Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH v2] ata: ahci: find eSATA ports and flag them as removable
Date: Fri, 16 Oct 2015 08:42:02 -0400 [thread overview]
Message-ID: <5620F09A.9010909@start.ca> (raw)
In-Reply-To: <20150930213910.GG2627@mtj.duckdns.org>
On 15-09-30 05:39 PM, Tejun Heo wrote:
> On Wed, Sep 30, 2015 at 09:10:25PM +0200, Manuel Lauss wrote:
>> If the AHCI ports' HPCP or ESP bits are set, the port
>> should be considered external (e.g. eSATA) and is marked
>> as removable. Userspace tools like udisks then treat it
>> like an usb drive.
>>
>> With this patch applied, when I plug a drive into the esata port,
>> KDE pops up a window asking what to do with the drives(s), just
>> like it does for any random USB stick.
>>
>> Removability is indicated to the upper layers by way of the
>> SCSI RMB bit, as I haven't found another way to signal
>> userspace to treat a sata disk like any usb stick.
>>
>> Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
>
> Applied to libata/for-4.4. Let's see what happens.
Ugh. Yet another revert to include in my own builds, I guess.
eSATA is used for permanent storage expansion with port-multipliers,
and having to stop command queuing frequently for useless polling
is gonna be a performance drain.
-ml
next prev parent reply other threads:[~2015-10-16 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 19:10 [PATCH v2] ata: ahci: find eSATA ports and flag them as removable Manuel Lauss
2015-09-30 21:39 ` Tejun Heo
2015-10-16 12:42 ` Mark Lord [this message]
2015-10-16 12:54 ` Tejun Heo
2015-10-19 2:32 ` Mark Lord
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5620F09A.9010909@start.ca \
--to=kernel@start.ca \
--cc=linux-ide@vger.kernel.org \
--cc=manuel.lauss@gmail.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox