[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200908145347.2992670-1-hch@lst.de>
Date: Tue, 8 Sep 2020 16:53:28 +0200
From: Christoph Hellwig <hch@....de>
To: Jens Axboe <axboe@...nel.dk>
Cc: Denis Efremov <efremov@...ux.com>, Tim Waugh <tim@...erelk.net>,
Michal Simek <michal.simek@...inx.com>,
Borislav Petkov <bp@...en8.de>,
"David S. Miller" <davem@...emloft.net>,
Song Liu <song@...nel.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Finn Thain <fthain@...egraphics.com.au>,
Michael Schmitz <schmitzmic@...il.com>,
linux-m68k@...ts.linux-m68k.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
linux-raid@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: rework check_disk_change() v2
Hi Jens,
this series replaced the not very nice check_disk_change() function with
a new bdev_media_changed that avoids having the ->revalidate_disk call
at its end. As a result ->revalidate_disk can be removed from a lot of
drivers.
Changes since v1:
- minor changelog spelling fixes
Diffstat:
block/genhd.c | 29 ++++++++++++++++++++++++++-
drivers/block/amiflop.c | 2 -
drivers/block/ataflop.c | 7 +++---
drivers/block/floppy.c | 8 ++++---
drivers/block/paride/pcd.c | 2 -
drivers/block/swim.c | 22 +-------------------
drivers/block/swim3.c | 4 +--
drivers/block/xsysace.c | 26 +++++++++---------------
drivers/cdrom/gdrom.c | 2 -
drivers/ide/ide-cd.c | 16 ++++-----------
drivers/ide/ide-disk.c | 5 ----
drivers/ide/ide-floppy.c | 2 -
drivers/ide/ide-gd.c | 48 +++++----------------------------------------
drivers/md/md.c | 2 -
drivers/scsi/sd.c | 7 +++---
drivers/scsi/sr.c | 36 +++++++++++++--------------------
fs/block_dev.c | 31 -----------------------------
include/linux/genhd.h | 3 --
include/linux/ide.h | 2 -
19 files changed, 86 insertions(+), 168 deletions(-)
Powered by blists - more mailing lists