[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170428142727.GA15489@kernel.dk>
Date: Fri, 28 Apr 2017 08:27:28 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Dan Williams <dan.j.williams@...el.com>
Cc: linux-block@...r.kernel.org,
Vishal Verma <vishal.l.verma@...el.com>,
Christoph Hellwig <hch@....de>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: hide badblocks attribute by default
On Thu, Apr 27 2017, Dan Williams wrote:
> Commit 99e6608c9e74 "block: Add badblock management for gendisks"
> allowed for drivers like pmem and software-raid to advertise a list of
> bad media areas. However, it inadvertently added a 'badblocks' to all
> block devices. Lets clean this up by having the 'badblocks' attribute
> not be visible when the driver has not populated a 'struct badblocks'
> instance in the gendisk.
Thanks Dan, added.
--
Jens Axboe
Powered by blists - more mailing lists