* Convert between journal features and strings
@ 2008-03-14 18:29 Girish Shilamkar
2008-03-14 20:41 ` Theodore Tso
0 siblings, 1 reply; 2+ messages in thread
From: Girish Shilamkar @ 2008-03-14 18:29 UTC (permalink / raw)
To: Theodore Tso; +Cc: Ext4 Mailing List
Hi Ted,
e2p_string2feature() and e2p_feature2string() can operate on ext2/3/4
features list as there is only one struct feature feature_list[] and no
corresponding journal features list.
After introducing journal_checksum and journal_async_commit features, we
needed to display the features using debugfs which does it through the
two e2p_* functions. A new struct feature jrnl_feature_list[] was added.
The e2p_* functions were passed an additional argument so it can decide
which feature list to use.
Change in the APIs of e2p_* functions might not be acceptable so we have
an option to either make e2p_feature2string2() function or add
a new e2p_jnl_feature2string()
Would like to know what will be preferred e2p_feature2string2() or
e2p_jnl_feature2string() ?
Thanks,
Girish
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Convert between journal features and strings
2008-03-14 18:29 Convert between journal features and strings Girish Shilamkar
@ 2008-03-14 20:41 ` Theodore Tso
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Tso @ 2008-03-14 20:41 UTC (permalink / raw)
To: Girish Shilamkar; +Cc: Ext4 Mailing List
On Fri, Mar 14, 2008 at 11:59:29PM +0530, Girish Shilamkar wrote:
> Hi Ted,
> e2p_string2feature() and e2p_feature2string() can operate on ext2/3/4
> features list as there is only one struct feature feature_list[] and no
> corresponding journal features list.
> After introducing journal_checksum and journal_async_commit features, we
> needed to display the features using debugfs which does it through the
> two e2p_* functions. A new struct feature jrnl_feature_list[] was added.
> The e2p_* functions were passed an additional argument so it can decide
> which feature list to use.
> Change in the APIs of e2p_* functions might not be acceptable so we have
> an option to either make e2p_feature2string2() function or add
> a new e2p_jnl_feature2string()
>
> Would like to know what will be preferred e2p_feature2string2() or
> e2p_jnl_feature2string() ?
Two new functions are definitely preferable to changing the ABI's of
two existing functions.
Regards,
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-14 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 18:29 Convert between journal features and strings Girish Shilamkar
2008-03-14 20:41 ` Theodore Tso
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).