Messages in this thread | | | Date | Fri, 28 Apr 2017 08:27:28 -0600 | From | Jens Axboe <> | 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
| |