[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09cd4827-52ae-0e7c-c3d3-e9a6cd27ff2b@cloud.ionos.com>
Date: Wed, 8 Jul 2020 15:17:31 +0200
From: Guoqing Jiang <guoqing.jiang@...ud.ionos.com>
To: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>
Cc: 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 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.
Thanks,
Guoqing
Powered by blists - more mailing lists