Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-06 Thread Andrei Borzenkov
04.02.2021 10:47, Ulrich Windl пишет: Andrei Borzenkov schrieb am 03.02.2021 um 19:13 in > Nachricht : >> 02.02.2021 12:43, Ulrich Windl пишет: >>> Hi! >>> >>> Having: >>> --- >>> # /usr/lib/systemd/system/virtlockd.service >>> [Unit] >>> Description=Virtual machine lock manager >>>

Re: [systemd-devel] Still confused with socket activation

2021-02-06 Thread Andrei Borzenkov
04.02.2021 17:53, Simon McVittie пишет: > On Thu, 04 Feb 2021 at 13:07:33 +0100, Reindl Harald wrote: >> "Requires=a.service" combined with "Before=a.service" is contradictory - >> don't you get that? > > It means what it says: whenever my service is enabled, a.service must > also be enabled, but

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-06 Thread Chris Murphy
More data points. 1. An ext4 file system with a 112M system.journal, it has 15 extents. >From FIEMAP we can pretty much see it's really made from 14 8MB extents, consistent with multiple appends. And it's the exact same behavior seen on Btrfs with nodatacow journals.

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-06 Thread Chris Murphy
On Fri, Feb 5, 2021 at 8:23 AM Phillip Susi wrote: > Chris Murphy writes: > > > But it gets worse. The way systemd-journald is submitting the journals > > for defragmentation is making them more fragmented than just leaving > > them alone. > > Wait, doesn't it just create a new file, fallocate

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-06 Thread Vito Caputo
On Fri, Feb 05, 2021 at 05:44:03PM -0700, Chris Murphy wrote: > On Fri, Feb 5, 2021 at 3:55 PM Lennart Poettering > wrote: > > > > On Fr, 05.02.21 20:58, Maksim Fomin (ma...@fomin.one) wrote: > > > > > > You know, we issue the btrfs ioctl, under the assumption that if the > > > > file is already

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-06 Thread Andrei Borzenkov
06.02.2021 00:33, Phillip Susi пишет: > > Lennart Poettering writes: > >> journalctl gives you one long continues log stream, joining everything >> available, archived or not into one big interleaved stream. > > If you ask for everything, yes... but if you run journalctl -b then > shuoldn't it