On Sun, 02.02.14 15:27, Jóhann B. Guðmundsson (johan...@gmail.com) wrote:
> >>udev seems to have a race condition with swapon to see which can open > >>/dev/zram0 first, causing swapon to fail. > >>( seems to be most noticeable on arm devices one out of every 7 times or > >>something ) and this patches udev's persistent storage rules to avoid > >>probing any zram devices. > > > >Thanks, this explains why the patch is needed. But this should > >really be in the commit message :) > > > > Regarding the future of zram support in systemd should that not be > added to fstab-generator and swap, with unit type ending in .zswap? No. Quite frankly, I don't really see what the point is of involving a fake block device for this... I am happy to generically support stuff that makes sense, but this really and totally doesn't. It's a completely broken API. I mean, I don't mind if people make use of this, but support for this should live outside of systemd. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel