From: Jan Kara <jack@suse.cz>
To: Fabian Frederick <fabf@skynet.be>
Cc: Jan Kara <jack@suse.cz>,
akpm@linux-foundation.org, mm-commits@vger.kernel.org,
viro@zeniv.linux.org.uk, joe@perches.com,
linux-fsdevel@vger.kernel.org
Subject: Re: + fs-isofs-logging-clean-up.patch added to -mm tree
Date: Thu, 24 Apr 2014 22:05:31 +0200 [thread overview]
Message-ID: <20140424200531.GF13573@quack.suse.cz> (raw)
In-Reply-To: <20140424213401.248f8e5ec741d33a431ffda7@skynet.be>
On Thu 24-04-14 21:34:01, Fabian Frederick wrote:
> On Thu, 24 Apr 2014 12:08:13 +0200
> Jan Kara <jack@suse.cz> wrote:
>
> > On Wed 23-04-14 15:09:22, Andrew Morton wrote:
> > > Subject: + fs-isofs-logging-clean-up.patch added to -mm tree
> > > To: fabf@skynet.be,jack@suse.cz,joe@perches.com,viro@zeniv.linux.org.uk
> > > From: akpm@linux-foundation.org
> > > Date: Wed, 23 Apr 2014 15:09:22 -0700
> > >
> > >
> > > The patch titled
> > > Subject: fs/isofs: logging clean-up
> > > has been added to the -mm tree. Its filename is
> > > fs-isofs-logging-clean-up.patch
> > >
> > > This patch should soon appear at
> > > http://ozlabs.org/~akpm/mmots/broken-out/fs-isofs-logging-clean-up.patch
> > > and later at
> > > http://ozlabs.org/~akpm/mmotm/broken-out/fs-isofs-logging-clean-up.patch
> > >
> > > Before you just go and hit "reply", please:
> > > a) Consider who else should be cc'ed
> > > b) Prefer to cc a suitable mailing list as well
> > > c) Ideally: find the original patch on the mailing list and do a
> > > reply-to-all to that, adding suitable additional cc's
> > >
> > > *** Remember to use Documentation/SubmitChecklist when testing your code ***
> > >
> > > The -mm tree is included into linux-next and is updated
> > > there every 3-4 working days
> > >
> > > ------------------------------------------------------
> > > From: Fabian Frederick <fabf@skynet.be>
> > > Subject: fs/isofs: logging clean-up
> > >
> > > -All printk(KERN_foo converted to pr_foo()
> > > -Default printk converted to pr_warn()
> > > -Define DEBUG in pr_debug callsites to keep old printk(DEBUG behaviour
> > > -Add DEBUG_FLAGS in Makefile for previous #ifdef DEBUG
> > > -Coalesce format fragments.
> > > -Separate format/arguments on lines > 80 characters.
> > > -Add ISOFS, ISOFS Rock, zisofs pr_fmt
> > >
> > > Signed-off-by: Fabian Frederick <fabf@skynet.be>
> > > Cc: Al Viro <viro@zeniv.linux.org.uk>
> > > Cc: Jan Kara <jack@suse.cz>
> > > Cc: Joe Perches <joe@perches.com>
> > > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> > Fabian, I'm OK with the patch but when already touching all the places
> > that print something in isofs, could you please do what other filesystems
> > to and print also sb->s_id with the message? So interface like ext2_msg()
> > has would be nice I think... Thanks!
>
> btw, wouldn't be possible/interesting to define common functions for that rather
> than define those again and again ?
Yes, we could have a common function for that, although you probably want
to handle prefixing with fs type in some clever way so that we don't have
to pass that to every function. Maybe struct filesystem_type could contain
a user friendly filesystem name used by the printing function?
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2014-04-24 20:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53583a12.nOYVqUQ9CUI83BUB%akpm@linux-foundation.org>
2014-04-24 10:08 ` + fs-isofs-logging-clean-up.patch added to -mm tree Jan Kara
2014-04-24 19:23 ` Fabian Frederick
2014-04-24 19:34 ` Fabian Frederick
2014-04-24 20:05 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140424200531.GF13573@quack.suse.cz \
--to=jack@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=fabf@skynet.be \
--cc=joe@perches.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).