Re: [PATCH 3/3] netconsole: implement extended console support

2015-05-02 Thread Tejun Heo
Hello, Tetsuo. On Sat, May 02, 2015 at 01:54:57PM +0900, Tetsuo Handa wrote: > Tejun Heo wrote: > > +For example, > > + > > + 6,416,1758426,-,ncfrag=0/33;the first chunk, > > + 6,416,1758426,-,ncfrag=16/33;the second chunk. > > + > > Wouldn't total-bytes > 1000 than 33 in this example? It's tryi

Re: [PATCH 3/3] netconsole: implement extended console support

2015-05-01 Thread Tetsuo Handa
Tejun Heo wrote: > +If a message doesn't fit in 1000 bytes, the message is split into > +multiple fragments by netconsole. These fragments are transmitted with > +"ncfrag" header field added. > + > + ncfrag=/ > + > +For example, > + > + 6,416,1758426,-,ncfrag=0/33;the first chunk, > + 6,416,1758426

[PATCH 3/3] netconsole: implement extended console support

2015-05-01 Thread Tejun Heo
printk logbuf keeps various metadata and optional key=value dictionary for structured messages, both of which are stripped when messages are handed to regular console drivers. It can be useful to have this metadata and dictionary available to netconsole consumers. This obviously makes logging via