Re: [linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates
In message: Re: [linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates on 11/03/2020 He Zhe wrote: > > > On 3/11/20 11:24 AM, Bruce Ashfield wrote: > > On Wed, Mar 4, 2020 at 10:40 AM wrote: > >> From: He Zhe > >> > >> This series of commits do not work with the latest systemd-udevd(v244, > >> likely > >> v245). And the mainline has confirmed this potential misbehaviour. > >> > >> https://lore.kernel.org/lkml/20200304133738.gf21...@quack2.suse.cz/ > >> > >> As it would run out of memory very soon and make the system unavailable, it > >> seems we'd better apply the reverts first. > > Since these came out, I've upgraded -dev to v5.6, I can apply these > > to v5.5/*. Have you confirmed if 5.6 has the same issue ? > > I just confirmed that it also happens with the latest 5.6-rc5. I've merged these to the 5.5 and 5.6 branches. I had to fixup one of the patches for v5.6, so send any fixes as incremental patches. Bruce > > Zhe > > > > > Bruce > > > >> With this series of reverts applied, I just did some random file and disk > >> operations and did not meet errors. > >> > >> He Zhe (5): > >> Revert "block: move clearing bd_invalidated into > >> check_disk_size_change" > >> Revert "block: remove (__)blkdev_reread_part as an exported API" > >> Revert "block: fix bdev_disk_changed for non-partitioned devices" > >> Revert "block: move rescan_partitions to fs/block_dev.c" > >> Revert "block: merge invalidate_partitions into rescan_partitions" > >> > >> block/ioctl.c | 37 +++ > >> block/partition-generic.c | 52 - > >> drivers/block/loop.c| 13 - > >> drivers/s390/block/dasd_genhd.c | 4 +-- > >> fs/block_dev.c | 50 --- > >> include/linux/fs.h | 4 +++ > >> include/linux/genhd.h | 5 ++-- > >> 7 files changed, 101 insertions(+), 64 deletions(-) > >> > >> -- > >> 2.24.1 > >> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8472): https://lists.yoctoproject.org/g/linux-yocto/message/8472 Mute This Topic: https://lists.yoctoproject.org/mt/71728956/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates
On 3/11/20 11:24 AM, Bruce Ashfield wrote: > On Wed, Mar 4, 2020 at 10:40 AM wrote: >> From: He Zhe >> >> This series of commits do not work with the latest systemd-udevd(v244, likely >> v245). And the mainline has confirmed this potential misbehaviour. >> >> https://lore.kernel.org/lkml/20200304133738.gf21...@quack2.suse.cz/ >> >> As it would run out of memory very soon and make the system unavailable, it >> seems we'd better apply the reverts first. > Since these came out, I've upgraded -dev to v5.6, I can apply these > to v5.5/*. Have you confirmed if 5.6 has the same issue ? I just confirmed that it also happens with the latest 5.6-rc5. Zhe > > Bruce > >> With this series of reverts applied, I just did some random file and disk >> operations and did not meet errors. >> >> He Zhe (5): >> Revert "block: move clearing bd_invalidated into >> check_disk_size_change" >> Revert "block: remove (__)blkdev_reread_part as an exported API" >> Revert "block: fix bdev_disk_changed for non-partitioned devices" >> Revert "block: move rescan_partitions to fs/block_dev.c" >> Revert "block: merge invalidate_partitions into rescan_partitions" >> >> block/ioctl.c | 37 +++ >> block/partition-generic.c | 52 - >> drivers/block/loop.c| 13 - >> drivers/s390/block/dasd_genhd.c | 4 +-- >> fs/block_dev.c | 50 --- >> include/linux/fs.h | 4 +++ >> include/linux/genhd.h | 5 ++-- >> 7 files changed, 101 insertions(+), 64 deletions(-) >> >> -- >> 2.24.1 >> > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8463): https://lists.yoctoproject.org/g/linux-yocto/message/8463 Mute This Topic: https://lists.yoctoproject.org/mt/71728956/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates
On Wed, Mar 4, 2020 at 10:40 AM wrote: > > From: He Zhe > > This series of commits do not work with the latest systemd-udevd(v244, likely > v245). And the mainline has confirmed this potential misbehaviour. > > https://lore.kernel.org/lkml/20200304133738.gf21...@quack2.suse.cz/ > > As it would run out of memory very soon and make the system unavailable, it > seems we'd better apply the reverts first. Since these came out, I've upgraded -dev to v5.6, I can apply these to v5.5/*. Have you confirmed if 5.6 has the same issue ? Bruce > > With this series of reverts applied, I just did some random file and disk > operations and did not meet errors. > > He Zhe (5): > Revert "block: move clearing bd_invalidated into > check_disk_size_change" > Revert "block: remove (__)blkdev_reread_part as an exported API" > Revert "block: fix bdev_disk_changed for non-partitioned devices" > Revert "block: move rescan_partitions to fs/block_dev.c" > Revert "block: merge invalidate_partitions into rescan_partitions" > > block/ioctl.c | 37 +++ > block/partition-generic.c | 52 - > drivers/block/loop.c| 13 - > drivers/s390/block/dasd_genhd.c | 4 +-- > fs/block_dev.c | 50 --- > include/linux/fs.h | 4 +++ > include/linux/genhd.h | 5 ++-- > 7 files changed, 101 insertions(+), 64 deletions(-) > > -- > 2.24.1 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8461): https://lists.yoctoproject.org/g/linux-yocto/message/8461 Mute This Topic: https://lists.yoctoproject.org/mt/71728956/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-dev standard/base][PATCH 0/5] Revert disk invalidating updates
From: He Zhe This series of commits do not work with the latest systemd-udevd(v244, likely v245). And the mainline has confirmed this potential misbehaviour. https://lore.kernel.org/lkml/20200304133738.gf21...@quack2.suse.cz/ As it would run out of memory very soon and make the system unavailable, it seems we'd better apply the reverts first. With this series of reverts applied, I just did some random file and disk operations and did not meet errors. He Zhe (5): Revert "block: move clearing bd_invalidated into check_disk_size_change" Revert "block: remove (__)blkdev_reread_part as an exported API" Revert "block: fix bdev_disk_changed for non-partitioned devices" Revert "block: move rescan_partitions to fs/block_dev.c" Revert "block: merge invalidate_partitions into rescan_partitions" block/ioctl.c | 37 +++ block/partition-generic.c | 52 - drivers/block/loop.c| 13 - drivers/s390/block/dasd_genhd.c | 4 +-- fs/block_dev.c | 50 --- include/linux/fs.h | 4 +++ include/linux/genhd.h | 5 ++-- 7 files changed, 101 insertions(+), 64 deletions(-) -- 2.24.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8440): https://lists.yoctoproject.org/g/linux-yocto/message/8440 Mute This Topic: https://lists.yoctoproject.org/mt/71728956/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-