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)



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux