Re: rework check_disk_change() v2

2020-09-10 Thread Jens Axboe
On 9/8/20 8:53 AM, Christoph Hellwig wrote: > 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. Applied

rework check_disk_change() v2

2020-09-08 Thread Christoph Hellwig
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:

Re: rework check_disk_change()

2020-09-04 Thread Hannes Reinecke
On 9/2/20 5:38 PM, Douglas Gilbert wrote: On 2020-09-02 10:11 a.m., Christoph Hellwig wrote: 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

Re: rework check_disk_change()

2020-09-02 Thread Douglas Gilbert
On 2020-09-02 10:11 a.m., Christoph Hellwig wrote: 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. For over

rework check_disk_change()

2020-09-02 Thread Christoph Hellwig
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. Diffstat: block/genhd.c | 29 ++