[PATCH] UBI: add debugfs file for tracking PEB state

2016-10-17 Thread Zach Brown
From: Ben Shelton Add a file under debugfs to allow easy access to the erase count for each physical erase block on an UBI device. This is useful when debugging data integrity issues with UBIFS on NAND flash devices. Signed-off-by: Ben Shelton

[PATCH] UBI: add debugfs file for tracking PEB state

2016-10-17 Thread Zach Brown
From: Ben Shelton Add a file under debugfs to allow easy access to the erase count for each physical erase block on an UBI device. This is useful when debugging data integrity issues with UBIFS on NAND flash devices. Signed-off-by: Ben Shelton Signed-off-by: Zach Brown ---

Re: [PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread kbuild test robot
Hi Ben, [auto build test WARNING on mtd/master] [also build test WARNING on v4.8-rc7 next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record

Re: [PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread kbuild test robot
Hi Ben, [auto build test WARNING on mtd/master] [also build test WARNING on v4.8-rc7 next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record

Re: [PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread Richard Weinberger
Zach, On 19.09.2016 20:47, Zach Brown wrote: > + } else { > + struct ubi_ec_hdr erase_count_header; > + > + err = ubi_io_read_ec_hdr(ubi, *block_number, > + _count_header, 0); > + if (err && err != UBI_IO_BITFLIPS) > +

Re: [PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread Richard Weinberger
Zach, On 19.09.2016 20:47, Zach Brown wrote: > + } else { > + struct ubi_ec_hdr erase_count_header; > + > + err = ubi_io_read_ec_hdr(ubi, *block_number, > + _count_header, 0); > + if (err && err != UBI_IO_BITFLIPS) > +

[PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread Zach Brown
From: Ben Shelton Add a file under debugfs to allow easy access to the erase count for each physical erase block on an UBI device. This is useful when debugging data integrity issues with UBIFS on NAND flash devices. Signed-off-by: Ben Shelton

[PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread Zach Brown
From: Ben Shelton Add a file under debugfs to allow easy access to the erase count for each physical erase block on an UBI device. This is useful when debugging data integrity issues with UBIFS on NAND flash devices. Signed-off-by: Ben Shelton Signed-off-by: Zach Brown ---