linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: Jens Axboe <axboe@kernel.dk>, Tejun Heo <tj@kernel.org>,
	Hannes Reinecke <hare@suse.de>
Cc: James Bottomley <jejb@linux.vnet.ibm.com>,
	Christoph Hellwig <hch@lst.de>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Bart Van Assche <Bart.VanAssche@sandisk.com>,
	linux-block@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-scsi@vger.kernel.org
Subject: Reminder: [PATCH v2 0/5] block: skip media change event handling if unsupported
Date: Fri, 15 Mar 2019 15:25:26 +0100	[thread overview]
Message-ID: <b4971cf31e301dd32a37c914090ce574823fcd06.camel@suse.com> (raw)
In-Reply-To: <20190205113741.11267-1-mwilck@suse.com>

On Tue, 2019-02-05 at 12:37 +0100, Martin Wilck wrote:
> [...]
> 
> This series implements a slightly different approach to event
> handling and
> uevent suppression. The drivers are changed to set the events field
> again.
> Whether or not uevents should be generated is controlled by a
> separate flag
> bit, which is only set by the drivers that are known to generate
> proper
> uevents (sd and sr). Once this is done, devices that don't support
> any
> media change events can be clearly identified, and the whole events
> checking code path can be skipped. This simplifies handling of
> non-removable SCSI disks.
> 
> I have tested this with removable and non-removable SCSI disks, SCSI
> cdrom,
> and ide-cd.
> 
> This patch set targets the same problem as Hannes' late submission
> "sd:
> skip non-removable devices in sd_check_events()".

Gentle review reminder.

Regards
Martin

-- 
Dr. Martin Wilck <mwilck@suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)



  parent reply	other threads:[~2019-03-15 14:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05 11:37 [PATCH v2 0/5] block: skip media change event handling if unsupported Martin Wilck
2019-02-05 11:37 ` [PATCH v2 1/5] block: genhd: remove async_events field Martin Wilck
2019-02-05 11:37 ` [PATCH v2 2/5] block: disk_events: introduce event flags Martin Wilck
2019-02-05 11:37 ` [PATCH v2 3/5] Revert "ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd and ide-cd" Martin Wilck
2019-02-05 11:37 ` [PATCH v2 4/5] Revert "block: unexport DISK_EVENT_MEDIA_CHANGE for legacy/fringe drivers" Martin Wilck
2019-02-05 11:37 ` [PATCH v2 5/5] block: check_events: don't bother with events if unsupported Martin Wilck
2019-03-15 14:25 ` Martin Wilck [this message]
2019-03-19 18:21   ` Reminder: [PATCH v2 0/5] block: skip media change event handling " Martin K. Petersen

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=b4971cf31e301dd32a37c914090ce574823fcd06.camel@suse.com \
    --to=mwilck@suse.com \
    --cc=Bart.VanAssche@sandisk.com \
    --cc=axboe@kernel.dk \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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;
as well as URLs for NNTP newsgroup(s).