Re: A Transformation of our Global Context

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

 



On 10/06/2016, Sage Weil wrote:
> I think the crux of the issue is the debug/logging code.  Almost all
> the other uses of cct are related to config options that are
> per-cluster.

That is correct. I thought we might pull some things like (like the
Crypto stuff) while we were at it but that was more "As long as I'm
here anyway I might as well see if there's anything more to do..."

> And with logging... it seems like even this is really a per-cluster
> (well, per entity) thing.  Sorting through a log file that combines
> output from two different objecters sounds horrific, and when we
> cram multiple OSDs into one process, we're going to want them to
> still feed into different log files.

This is a good point that I had not considered. Though, I'm not sure
if the un-separated case is that much better. I think part of the
savings we would want from multi-OSD work (at least in principle) is
to be able to have them share messengers and other overhead. In that
case giving each OSD its own fully fledged CephContext doesn't make
sense, I don't think.

Some form of sterring might work, perhaps making the log system smart
enough to shove things around based on subsystem or an entity
identifier or something.

> How bad is the cct plumbing patch?  I fear this might still be the
> best path forward...

It's not great? Really at all. I wrote it and I don't like it. I
could pull it up and smack it into shape and make sure it passes tests
if it were necessary.

-- 
Senior Software Engineer           Red Hat Storage, Ann Arbor, MI, US
IRC: Aemerson@{RedHat, OFTC, Freenode}
0x80F7544B90EDBFB9 E707 86BA 0C1B 62CC 152C  7C12 80F7 544B 90ED BFB9
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux