this is not a patch :-) this is only for testing (https://github.com/msuhanov/Linux-write-blocker) Pascal Le mar. 3 mars 2020 à 17:36, Filipe Laíns via arch-general < arch-general@xxxxxxxxxxxxx> a écrit : > On Tue, 2020-03-03 at 14:29 +0100, Pascal via arch-general wrote: > > yes, I've just recompiled and this second time was much faster ! > > > > to be more precise, here is the very small modification made to the > > file > > mentioned above : > > > > --- src/linux-5.4.23/block/blk-core.c 2020-02-28 17:22:29.000000000 > > +0100 > > +++ /tmp/blk-core.c 2020-03-03 14:25:56.049803851 +0100 > > @@ -799,7 +799,7 @@ > > "to read-only block-device %s (partno %d)\n", > > bio_devname(bio, b), part->partno); > > /* Older lvm-tools actually trigger this */ > > - return false; > > + return true; > > } > > This seems very wrong. Has this patch been upstreamed? > > Filipe Laíns >