Re: bcache: oops when writing to writeback_percent without a cache device

2019-06-05 Thread Bjørn Forsman
On Wed, 5 Jun 2019 at 06:41, Coly Li wrote: > > On 2019/6/5 1:24 上午, Bjørn Forsman wrote: > > On Tue, 4 Jun 2019 at 17:41, Coly Li wrote: > >> > >> On 2019/6/4 10:59 下午, Coly Li wrote: > >>> On 2019/6/4 7:00 下午, Bjørn Forsman wrote: > >>>&

Re: bcache: oops when writing to writeback_percent without a cache device

2019-06-04 Thread Bjørn Forsman
On Tue, 4 Jun 2019 at 17:41, Coly Li wrote: > > On 2019/6/4 10:59 下午, Coly Li wrote: > > On 2019/6/4 7:00 下午, Bjørn Forsman wrote: > >> Hi all, > >> > >> I get a kernel oops from bcache when writing to > >> /sys/block/bcache0/bcache/writeback_pe

bcache: oops when writing to writeback_percent without a cache device

2019-06-04 Thread Bjørn Forsman
particular issue. Background: I'm writing to .../writeback_percent with systemd-tmpfiles. I'd rather not replace it with a script that figures out whether or not the kernel will oops if writing to the sysfs file -- the kernel should not oops in the first place. -- Best regards, Bjørn Forsman

Re: [PATCH] Revert "kbuild: create deterministic initramfs directory listings"

2018-08-16 Thread Bjørn Forsman
we better add a LANG=C somewhere in the kernel build system, because I think you have a LANG= that makes it sort differently. A quick fix would of course be to insert it right next to sort, but there may be other places that may break due to LANG= settings. Best regards, Bjørn Forsman

Re: [PATCH] kbuild: check for pkg-config on make menu/n/g/xconfig

2018-03-11 Thread Bjørn Forsman
ay or may not be installed on the system. Best regards, Bjørn Forsman