Re: [PATCH 1/3] bcache: introduce bcache sysfs entries for ioprio-based bypass/writeback hints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 Oct 2020, Eric Wheeler said:

> I always make my own cgroups with cgcreate, cgset, and cgexec.  We're 
> using centos7 which is all systemd and I've never had a problem:

Oh, maybe I'm panicking about nothing as usual then. Maybe this is all
ancient systemd bugs that were fixed roughly when the Americas split off
from Europe but which I've been worrying over without retesting ever
since. :)

> Something (hypothetically) like this:
> 	cgcreate -g blkio:/my_bcache_settings
> 	cgset -r blkio.bcache.bypass='read,write'    my_bcache_settings
> 	cgset -r blkio.bcache.writeback='write,meta' my_bcache_settings
>
> Then all you need to do is run this which isn't all that different from an 
> ionice invocation:
> 	cgexec -g blkio:my_bcache_settings /usr/local/bin/some-program

... if it's that easy, I have no objections :) actually that looks
significantly more expressive than what we have now.

-- 
NULL && (void)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux