diff options
| author | 2019-12-02 10:21:34 -0800 | |
|---|---|---|
| committer | 2019-12-02 18:49:30 -0700 | |
| commit | 490547ca2df66b8413bce97cb651630f2c531487 (patch) | |
| tree | 7510e3c0c5b2744a6d8f0aa70bdb211380b5e4b7 /samples/git:/ssh: | |
| parent | io_uring: transform send/recvmsg() -ERESTARTSYS to -EINTR (diff) | |
block: don't send uevent for empty disk when not invalidating
Commit 6917d0689993 ("block: merge invalidate_partitions into
rescan_partitions") caused a regression where systemd-udevd spins
forever using max CPU starting at boot time.
It's caused by a behavior change where a KOBJ_CHANGE uevent is now sent
in a case where previously it wasn't.
Restore the old behavior.
Fixes: 6917d0689993 ("block: merge invalidate_partitions into rescan_partitions")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
