Re: [RFC] [PATCH 0/7] fs: add blkdev name format specifier

2015-03-31 Thread Jens Axboe
On 03/31/2015 10:01 AM, Dmitry Monakhov wrote: Currently in order to print block_device name one should use blkdev() helper which requires temproral buffer of size BDEVNAME_SIZE (32bytes). This is very ineffective because result in stack usage bloating for deep IO call traces where stack usage

[RFC] [PATCH 0/7] fs: add blkdev name format specifier

2015-03-31 Thread Dmitry Monakhov
Currently in order to print block_device name one should use blkdev() helper which requires temproral buffer of size BDEVNAME_SIZE (32bytes). This is very ineffective because result in stack usage bloating for deep IO call traces where stack usage is close to maximum values. It is reasonable to

[RFC] [PATCH 0/7] fs: add blkdev name format specifier

2015-03-31 Thread Dmitry Monakhov
Currently in order to print block_device name one should use blkdev() helper which requires temproral buffer of size BDEVNAME_SIZE (32bytes). This is very ineffective because result in stack usage bloating for deep IO call traces where stack usage is close to maximum values. It is reasonable to

Re: [RFC] [PATCH 0/7] fs: add blkdev name format specifier

2015-03-31 Thread Jens Axboe
On 03/31/2015 10:01 AM, Dmitry Monakhov wrote: Currently in order to print block_device name one should use blkdev() helper which requires temproral buffer of size BDEVNAME_SIZE (32bytes). This is very ineffective because result in stack usage bloating for deep IO call traces where stack usage