Re: [systemd-devel] bootctl: default mount point for the ESP partition.

2015-09-01 Thread Goffredo Baroncelli
On 2015-09-01 18:47, Simon McVittie wrote: > On 01/09/15 17:21, Goffredo Baroncelli wrote: >> I discovered that bootctl assume as default mount point for the ESP >> partition the /boot directory. Instead it seems to me that the most part >> of distributions prefers /boot/efi.

[systemd-devel] bootctl: default mount point for the ESP partition.

2015-09-01 Thread Goffredo Baroncelli
volume - /boot/efi -> ESP partition. So the check should be made after mounting the /boot subvolume. Any ideas ? BR G.Baroncelli -- gpg @keyserver.linux.it: Goffredo Baroncelli Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 __

Re: [systemd-devel] RFC: filter and search journalctl

2015-08-08 Thread Goffredo Baroncelli
://lists.freedesktop.org/mailman/listinfo/systemd-devel -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-17 Thread Goffredo Baroncelli
On 2015-06-15 19:38, Lennart Poettering wrote: On Mon, 15.06.15 19:23, Goffredo Baroncelli (kreij...@inwind.it) wrote: On 2015-06-15 12:46, Lennart Poettering wrote: On Sat, 13.06.15 17:09, Goffredo Baroncelli (kreij...@libero.it) wrote: Further, the problem will be more intense in this eg

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-14 Thread Goffredo Baroncelli
On 2015-06-14 06:05, Duncan wrote: Goffredo Baroncelli posted on Sat, 13 Jun 2015 17:09:19 +0200 as excerpted: My attempt followed a different idea: the mount helper waits the devices if needed, or if it is the case it mounts the filesystem in degraded mode. All devices are passed as mount

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-13 Thread Goffredo Baroncelli
On 2015-06-13 11:35, Anand Jain wrote: Thanks for your reply Andrei and Goffredo. more below... On 06/13/2015 04:08 AM, Goffredo Baroncelli wrote: On 2015-06-12 20:04, Andrei Borzenkov wrote: В Fri, 12 Jun 2015 21:16:30 +0800 Anand Jain anand.j...@oracle.com пишет

Re: [systemd-devel] [PATCH 1/2] Partially revert patch 11689d2a which force the NOCOW attribute.

2015-04-23 Thread Goffredo Baroncelli
Hi, On 2015-04-22 13:33, Lennart Poettering wrote: On Sun, 12.04.15 20:30, Goffredo Baroncelli (kreij...@libero.it) wrote: From: Goffredo Baroncelli kreij...@inwind.it Partially revert patch 11689d2a, which force the NOCOW attribute for the journal files. This patch was introduced

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-04-12 Thread Goffredo Baroncelli
: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-04-12 Thread Goffredo Baroncelli
On 2015-04-12 18:06, Lennart Poettering wrote: On Sun, 12.04.15 17:29, Goffredo Baroncelli (kreij...@inwind.it) wrote: On 2015-04-12 15:12, Lennart Poettering wrote: On Sat, 11.04.15 17:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: That's the problem: current functionality

[systemd-devel] [PATCH 1/2] Partially revert patch 11689d2a which force the NOCOW attribute.

2015-04-12 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Partially revert patch 11689d2a, which force the NOCOW attribute for the journal files. This patch was introduced to allievate the perfomances problem that journald shows on the BTRFS filesystem. Because the NOCOW attribute is forced the user can't

[systemd-devel] [PATCH 2/2] Add +C attrib to the journal files directories

2015-04-12 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Add +C attrib to the journal files directories. The journal file format behaves bad on a BTRFS filesystem: the performances decrease during the time. To avoid this issue, this tmpfile.d snippet sets the NOCOW attribute to the journal files directories

[systemd-devel] [PATCH V2] Set the NOCOW flag for the journal via the tmpfiles

2015-04-12 Thread Goffredo Baroncelli
/msg29313.html [3] http://en.wikipedia.org/wiki/Btrfs#Checksum_tree_and_scrubbing -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd

Re: [systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-04-12 Thread Goffredo Baroncelli
message error is printed. What do you think ? Goffredo -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 1/2] Revert patch 11689d2a which force the NOCOW attribute

2015-04-11 Thread Goffredo Baroncelli
is honored at all... -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-04-08 Thread Goffredo Baroncelli
On 2015-04-08 20:36, Lennart Poettering wrote: On Mon, 16.03.15 20:33, Goffredo Baroncelli (kreij...@libero.it) wrote: Sorry for warming up this old thread, but a few issues I see with this? RECURSIVE_RELABEL_PATH = 'Z', +SET_ATTRIB = 'h', +RECURSIVE_SET_ATTRIB

Re: [systemd-devel] [PATCH] Set the NOCOW flag for the journal via tmpfiles

2015-03-29 Thread Goffredo Baroncelli
Hi, did you find the time to give a look a these patches ? Do you have any suggestions ? BR G.Baroncelli On 2015-03-21 12:56, Goffredo Baroncelli wrote: Hi all, these patches set reverts the commit 11689d2 journald: turn off COW for journal files on btrfs which enables *unconditionally

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-21 Thread Goffredo Baroncelli
On 2015-03-22 20:53, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Mar 20, 2015 at 07:06:28PM +0100, Goffredo Baroncelli wrote: Hi Zbyszek, [...] But there are some details to work out. Setting +C on /var/log/journal/%m has smaller scope than the code in journal-file.c now. For example

[systemd-devel] [PATCH 1/2] Revert patch 11689d2a which force the NOCOW attribute

2015-03-21 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Revert patch 11689d2a, which force the NOCOW attribute for the journal files. This patch was introduced to allievate the perfomances problem that journald shows on the BTRFS filesystem. Because the NOCOW attribute is forced the user can't revert

[systemd-devel] [PATCH 2/2] Add +C attrib to the journal files directories

2015-03-21 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Add +C attrib to the journal files directories. The journal file format behaves bad on a BTRFS filesystem: the performances decrease during the time. To avoid this issue, this tmpfile.d snippet sets the NOCOW attribute to the journal files directories

[systemd-devel] [PATCH] Set the NOCOW flag for the journal via tmpfiles

2015-03-21 Thread Goffredo Baroncelli
-archive.com/systemd-devel@lists.freedesktop.org/msg28724.html [2] https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg29313.html [3] http://en.wikipedia.org/wiki/Btrfs#Checksum_tree_and_scrubbing -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-20 Thread Goffredo Baroncelli
Hi Zbyszek, On 2015-03-21 14:37, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Mar 16, 2015 at 08:33:52PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance

Re: [systemd-devel] systemd and nested Btrfs subvolumes

2015-03-20 Thread Goffredo Baroncelli
be not true if a cp --reflink is used. [1] http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg42333.html [2] http://comments.gmane.org/gmane.comp.file-systems.btrfs/30119 [3] btrfs find-new and btrfs send do that -- gpg @keyserver.linux.it: Goffredo Baroncelli

Re: [systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-16 Thread Goffredo Baroncelli
On 2015-03-16 04:12, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 10, 2015 at 09:07:41PM +0100, Goffredo Baroncelli wrote: Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively

Re: [systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-16 Thread Goffredo Baroncelli
On 2015-03-16 04:24, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 10, 2015 at 09:07:42PM +0100, Goffredo Baroncelli wrote: Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions

[systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 36 1 file changed, 36 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 8815bf9..a532f91

[systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. --- src/tmpfiles/tmpfiles.c | 140

[systemd-devel] [PATCH 1/4] Add change_attr_fd()

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Add change_attr_fd() function to modify the file/directory attribute. --- src/shared/util.c | 22 ++ src/shared/util.h | 1 + 2 files changed, 23 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index ba035ca

[systemd-devel] [PATCH V4] Allow systemd-tmpfiles to set file/directory attributes

2015-03-16 Thread Goffredo Baroncelli
in the man page [1] Re: [systemd-devel] [RFC][PATCH] Add option to enable COW for journal file https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg28724.html -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37

[systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corrupted journal

[systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-12 Thread Goffredo Baroncelli
Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. --- src/tmpfiles/tmpfiles.c | 140 1 file changed, 140 insertions(+) diff --git

[systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-12 Thread Goffredo Baroncelli
Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corrupted journal. --- tmpfiles.d/journal-nocow.conf | 12

[systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-12 Thread Goffredo Baroncelli
Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 8815bf9..469deeb 100644 --- a/man/tmpfiles.d.xml +++

[systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-10 Thread Goffredo Baroncelli
Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 8815bf9..469deeb 100644 --- a/man/tmpfiles.d.xml +++

Re: [systemd-devel] [PATCH V2] Allow systemd-tmpfiles to set file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
Please, forgot these patches: there is a bug inside. Sorry for the noise. BR G.Baroncelli On 2015-03-10 20:36, Goffredo Baroncelli wrote: Hi all, This set of patches add two new line types to the tmpfiles files format. These new types of line are 'h' and 'H' (the recursively version

[systemd-devel] [PATCH V3] Allow systemd-tmpfiles to set file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
arguments of change_attr_fd() in path_set_attrib() [1] Re: [systemd-devel] [RFC][PATCH] Add option to enable COW for journal file https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg28724.html -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610

[systemd-devel] [PATCH 1/4] Add change_attr_fd()

2015-03-10 Thread Goffredo Baroncelli
Add change_attr_fd() function to modify the file/directory attribute. --- src/shared/util.c | 22 ++ src/shared/util.h | 1 + 2 files changed, 23 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index ba035ca..56097ec 100644 --- a/src/shared/util.c +++

[systemd-devel] [PATCH V2] Allow systemd-tmpfiles to set file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
: [systemd-devel] [RFC][PATCH] Add option to enable COW for journal file https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg28724.html -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5

[systemd-devel] [PATCH 1/4] Add change_attr_fd()

2015-03-10 Thread Goffredo Baroncelli
Add change_attr_fd() function to modify the file/directory attribute. --- src/shared/util.c | 22 ++ src/shared/util.h | 1 + 2 files changed, 23 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index ba035ca..56097ec 100644 --- a/src/shared/util.c +++

[systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-10 Thread Goffredo Baroncelli
Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corrupted journal. --- tmpfiles.d/journal-nocow.conf | 12

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
On 2015-03-08 23:06, Lennart Poettering wrote: On Sun, 08.03.15 12:48, Goffredo Baroncelli (kreij...@libero.it) wrote: dev_t major_minor; +int attrib_value; +int attrib_mask; int appears to be a strange choice for a bitmask. The existing chattr_fd

[systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-10 Thread Goffredo Baroncelli
Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. --- src/tmpfiles/tmpfiles.c | 140 1 file changed, 140 insertions(+) diff --git

Re: [systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-09 Thread Goffredo Baroncelli
On 2015-03-08 15:34, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 08, 2015 at 12:48:27PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-09 Thread Goffredo Baroncelli
On 2015-03-08 15:00, Ronny Chevalier wrote: 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h

[systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- src/tmpfiles/tmpfiles.c

[systemd-devel] [PATCH] Allow systemd-tmpfiles to set file/directory attributes

2015-03-08 Thread Goffredo Baroncelli
Hi all, This set of patches add two new line types to the tmpfiles files format. These new types of line are 'H' and 'h', and allow to change the file/ directory attributes, like chattr(1) does. One of the motivation of these patches is to get rid of the commit 11689d2a which force the NOCOW

[systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corruputed journal

[systemd-devel] [PATCH 2/3] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the man page of tmpfiles.d(5), to document the new h/H command. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man

Re: [systemd-devel] [RFC][PATCH] Add option to enable COW for journal file

2015-03-06 Thread Goffredo Baroncelli
On 2015-03-06 13:31, Lennart Poettering wrote: On Thu, 05.03.15 21:39, Goffredo Baroncelli (kreij...@libero.it) wrote: Hi All, the enclosed patches add an option to the journald.conf file to allow a COW behavior for the journal files. [...] I am pretty strongly against adding

[systemd-devel] [PATCH 3/4] Update the tests

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the tests due to the new interface journal_file_open() and journal_file_open_reliably(). Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- src/journal/test-journal-flush.c| 2 +- src/journal/test-journal-interleaving.c | 11

[systemd-devel] [RFC][PATCH] Add option to enable COW for journal file

2015-03-05 Thread Goffredo Baroncelli
/Data_scrubbing#Btrfs BR G.Baroncelli -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

[systemd-devel] [PATCH 4/4] Document the new parameter CowJournal

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Document: - the new parameter CowJournal in journald.conf - the new options --cow-journal and --no-cow-journal for systemd-journal-remote. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- man/journald.conf.xml | 56

[systemd-devel] [PATCH 1/4] Add BTRFS COW journal option

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it The commit 11689d2a force the NOCOW flag of the journal files. This was needed because systemd-journald has very poor perfomance when the filesytem is BTRFS due to its the COW behavior. However removing the COW behavior, the journal file also lost

[systemd-devel] [PATCH 2/4] Update journal-remote

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the journal-remote due to the update of the parameters of the functions journal_file_open()/journal_file_open_reliably(). Moreover two options are added to systemd-journal-remote: --cow-journal and --no-cow-journal to unset/set the no copy

Re: [systemd-devel] [ANNOUNCE] systemd 219

2015-02-18 Thread Goffredo Baroncelli
://www.spinics.net/lists/linux-btrfs/msg41024.html Lennart Goffredo -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [ANNOUNCE] systemd 219

2015-02-17 Thread Goffredo Baroncelli
is in use (before the next rotation). BR G.Baroncelli -- gpg @keyserver.linux.it: Goffredo Baroncelli kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH 10/11] Avoid doubling the efforts for /var/log/journal

2014-06-18 Thread Goffredo Baroncelli
, /system.journal); r = journal_file_open_reliably(fn, O_RDWR|O_CREAT, 0640, s-compress, s-seal, s-system_metrics, s-mmap, NULL, s-system_journal); -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-17 Thread Goffredo Baroncelli
the system.journal is smaller than this value, the readahead defrags it. But this happens only few times. This behavior seems to me reasonable to avoid blocking a system when a big file is touched during the boot. BR G.Baroncelli -- gpg @keyserver.linux.it: Goffredo Baroncelli

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-16 Thread Goffredo Baroncelli
the results. -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-16 Thread Goffredo Baroncelli
that the system.journal file was unaffected (but other *.journal files were). Further investigation is required. BR G.Baroncelli [1] http://kreijack.blogspot.it/2014/06/btrfs-and-systemd-journal.html On 06/16/2014 06:32 PM, Goffredo Baroncelli wrote: Hi Lennart, On 06/16/2014 12:13 AM

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-15 Thread Goffredo Baroncelli
On 06/14/2014 11:37 PM, Kai Krakow wrote: Goffredo Baroncelli kreij...@libero.it schrieb: On 06/14/2014 10:13 PM, Kai Krakow wrote: Take care to enable all needed services to enable defrag... If your services make use of journal file loading these files should also become part

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-15 Thread Goffredo Baroncelli
On 06/15/2014 12:50 PM, Kai Krakow wrote: Goffredo Baroncelli kreij...@libero.it schrieb: I have enabled all the services (collect, replay, done), but I was unable to see any gain. I don't think you can actually enable the done service because it is static... But if it placed a symlink

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-14 Thread Goffredo Baroncelli
On 06/14/2014 04:53 AM, Duncan wrote: Goffredo Baroncelli posted on Sat, 14 Jun 2014 00:19:31 +0200 as excerpted: On 06/13/2014 01:24 AM, Dave Chinner wrote: On Thu, Jun 12, 2014 at 12:37:13PM +, Duncan wrote: FWIW, either 4 byte or 8 MiB fallocate calls would be bad, I think actually

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-14 Thread Goffredo Baroncelli
@keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-14 Thread Goffredo Baroncelli
On 06/14/2014 04:03 PM, Kai Krakow wrote: Goffredo Baroncelli kreij...@libero.it schrieb: On 06/14/2014 12:59 PM, Kai Krakow wrote: [...] I think that systemd is even one of the early supporters of btrfs because it will defragment readahead files on boot from btrfs. In know that systemd

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-14 Thread Goffredo Baroncelli
On 06/14/2014 10:13 PM, Kai Krakow wrote: Goffredo Baroncelli kreij...@libero.it schrieb: I am looking at the source, and yes, it does. To be honest it seems to defragment only on btrfs. Oh that seems true... Then defragmenting and relocating is probably a todo item. I'm sure I've read

Re: [systemd-devel] R: Re: Slow startup of systemd-journal on BTRFS

2014-06-13 Thread Goffredo Baroncelli
Hi Dave On 06/13/2014 01:24 AM, Dave Chinner wrote: On Thu, Jun 12, 2014 at 12:37:13PM +, Duncan wrote: Goffredo Baroncelli kreij...@libero.it posted on Thu, 12 Jun 2014 13:13:26 +0200 as excerpted: systemd has a very stupid journal write pattern. It checks if there is space in the file

[systemd-devel] R: Re: Slow startup of systemd-journal on BTRFS

2014-06-12 Thread Goffredo Baroncelli kreij...@libero.it
On Jun 11, 2014, at 3:28 PM, Goffredo Baroncelli kreij...@libero.it wrote: If someone is able to suggest me how FRAGMENT the log file, I can try to collect more scientific data. So long as you're not using compression, filefrag will show you fragments of systemd-journald journals. I can vouch

[systemd-devel] R: Re: Slow startup of systemd-journal on BTRFS

2014-06-12 Thread Goffredo Baroncelli kreij...@libero.it
Messaggio originale Da: russ...@coker.com.au Data: 12/06/2014 3.18 A: kreij...@inwind.it Cc: systemd Mailing Listsystemd-devel@lists.freedesktop.org, linux-btrfs linux-bt...@vger.kernel.org Ogg: Re: Slow startup of systemd-journal on BTRFS On Wed, 11 Jun 2014 23:28:54 Goffredo

[systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-11 Thread Goffredo Baroncelli
; but I don't want to lost also the checksum protection. If someone is able to suggest me how FRAGMENT the log file, I can try to collect more scientific data. BR G.Baroncelli [*] # btrfs fi defrag /var/log/journal/*/* -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Goffredo Baroncelli
, that's the safest thing to do... Lennart -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Goffredo Baroncelli
On 03/12/2014 08:31 PM, Chris Murphy wrote: On Mar 12, 2014, at 1:12 PM, Goffredo Baroncelli kreij...@inwind.it wrote: [...] I am working to prototype something like that. A mount.btrfs command which 1) handles the rollback (i.e. the user make a snapshot which is a rollback; if something

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Goffredo Baroncelli
On 03/12/2014 08:12 PM, Goffredo Baroncelli wrote: [...] I am working to prototype something like that. A mount.btrfs command which 1) handles the rollback (i.e. the user make a snapshot which is a rollback; if something goes wrong and the machine reboot before ending the process, during

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-10 Thread Goffredo Baroncelli
- home of all the systems @srv- srv of all the systems fedora/@- root of a fedora system fedora/@etc - etc of the fedora system fedora2/@ - root of a fedora2 system fedora2/@etc- etc of the fedora2 system -- gpg @keyserver.linux.it: Goffredo Baroncelli

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-10 Thread Goffredo Baroncelli
for humans, and should not be overloaded with magic machine behavior. In general I agree with you. But using a name you can manage multiple system on the same filesystem. This is impossible with the UUID. KayGoffredo-- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-10 Thread Goffredo Baroncelli
On 03/10/2014 09:02 PM, Lennart Poettering wrote: On Mon, 10.03.14 19:34, Goffredo Baroncelli (kreij...@libero.it) wrote: Heya, Instead of relying on the subvolume UUID, why not relying to the subvolume name: it would be more simple and flexible to manage them. For example supposing

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-10 Thread Goffredo Baroncelli
On 03/10/2014 09:21 PM, Chris Mason wrote: On 03/10/2014 04:02 PM, Lennart Poettering wrote: On Mon, 10.03.14 19:34, Goffredo Baroncelli (kreij...@libero.it) wrote: [...] I am pretty sure automatic discovery of mount points should not cover the usecase where people install multiple

Re: [systemd-devel] [PATCH] systemd crashes if locale.conf contains invalid utf8 string

2014-02-08 Thread Goffredo Baroncelli
On 02/08/2014 07:15 PM, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Feb 06, 2014 at 07:09:59PM +0100, Goffredo Baroncelli wrote: [...] Applied. Great ! [...] Zbyszek -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA

[systemd-devel] [PATCH] systemd crashes if locale.conf contains invalid utf8 string

2014-02-06 Thread Goffredo Baroncelli
the check of an invalid utf8 sequence is still performed, but systemd doesn't crash anymore and logs the error. BR G.Baroncelli [1] parse_env_file_internal(), invoked by load_env_file() and parse_env_file() -- gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it Key fingerprint BBF5 1610

[systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Goffredo Baroncelli
to upstream. Of course it is in the systemd right to set whatever default it thinks sane. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- Makefile.am | 4 +++- sysctl.d/50-coredump.conf.in | 3 +++ sysctl.d/50-default.conf | 24

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Goffredo Baroncelli
On 2013-12-02 21:32, Kay Sievers wrote: On Mon, Dec 2, 2013 at 9:15 PM, Goffredo Baroncelli kreij...@libero.it wrote: currently systemd contains a sysctl default setting in a file called 50-default.conf The aim of this patch is to split the content of the sysctl setting in more

Re: [systemd-devel] [PATCH] Split sysctl 50-default.conf setting file

2013-12-02 Thread Goffredo Baroncelli
Hi Zbyszek On 2013-12-02 23:27, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Dec 02, 2013 at 10:27:45PM +0100, Goffredo Baroncelli wrote: [...] Yes am doing so. But IIRC the process order of the sysctl file was inverted near systemd 207... Because Debian uses 204, when it switches to something