[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200708132328.GA21223@lst.de>
Date: Wed, 8 Jul 2020 15:23:28 +0200
From: Christoph Hellwig <hch@....de>
To: Guoqing Jiang <guoqing.jiang@...ud.ionos.com>
Cc: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
Song Liu <song@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-kernel@...r.kernel.org, linux-xtensa@...ux-xtensa.org,
linux-block@...r.kernel.org, linux-raid@...r.kernel.org,
linux-mmc@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 1/6] md: switch to ->check_events for media change
notifications
On Wed, Jul 08, 2020 at 03:17:31PM +0200, Guoqing Jiang wrote:
> On 7/8/20 2:25 PM, Christoph Hellwig wrote:
>> -static int md_media_changed(struct gendisk *disk)
>> -{
>> - struct mddev *mddev = disk->private_data;
>> -
>> - return mddev->changed;
>> -}
>
> Maybe we can remove "changed" from struct mddev since no one reads it
> after the change.
The new md_check_events method reads it.
Powered by blists - more mailing lists