[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120214011144.GB5192@redhat.com>
Date: Tue, 14 Feb 2012 03:11:45 +0200
From: "Michael S. Tsirkin" <mst@...hat.com>
To: ronnie sahlberg <ronniesahlberg@...il.com>
Cc: Hannes Reinecke <hare@...e.de>, Dor Laor <dlaor@...hat.com>,
"Nicholas A. Bellinger" <nab@...ux-iscsi.org>,
Christian Borntraeger <borntraeger@...ibm.com>,
James Bottomley <James.Bottomley@...senpartnership.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Christian Hoff <christian.hoff@...ibm.com>,
borntrae@...ux.vnet.ibm.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
rusty@...tcorp.com.au, Stefan Hajnoczi <stefanha@...il.com>,
target-devel <target-devel@...r.kernel.org>
Subject: Re: Pe: [PATCH v5 1/3] virtio-scsi: first version
On Tue, Feb 14, 2012 at 11:49:55AM +1100, ronnie sahlberg wrote:
> By just exposing this device to the kernel, the kernel keeps sending,
> or if not the kernel maybe some other process trying to poll the
> status?
>
> every few seconds :
> PREVENT_ALLOW_MEDIUM_REMOVAL prevent removal
> PREVENT_ALLOW_MEDIUM_REMOVAL to immediatel change it back to allow
> removal again
> TEST_UNIT_READY
>
>
> After I run this
> mount /dev/sdd1 /mnt
>
> The kernel sends a single
> PREVENT_ALLOW_MEDIUM_REMOVAL to prevent removal
> then every few seconds a
> TEST_UNIT_READY
>
>
> This is what it does for removable SBC disks. Maybe it does something
> differently for "permanent" SBC disks.
>
> regards
> ronnie sahlberg
There used to be a daemon for this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists