All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Ralph <eulenreich@gmx.de>
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: The reiser4 programming style is recursive?
Date: Sat, 13 Dec 2008 22:30:44 +0300	[thread overview]
Message-ID: <49440D64.9050900@gmail.com> (raw)
In-Reply-To: <ghu32e$nqp$1@ger.gmane.org>

Ralph wrote:
> Edward Shishkin Thursday 11 December 2008 23:56:
>   
>>> there is no reiser4 transaction manager in place with just
>>> the patches, right ?
>>>       
>> Its code can be found in reiser4/txnmgr.c
>>     
>
> And is this activated or not ready disabled code?
>
> And transactions cannot be used by a normal user, because linux-vfs does not know anything about transactions and therefore there is no way to communicate a transaction command ? 
>
>   
>>>  And the right balancing code in place would have effects like
>>>  optimizing access on hard disk, right?
>>>       
>>  yes
>>     
> I used gentoo half a year on reiser4 and had no performance issues, but filling was not more than half. There are performance issues with more than 80% of charge and not running the balancing code so that the "dancing trees" are about to really dance?
>  
>   
>>> I read about the xattr problem, traditional linux xattr is to big to
>>> suit in place. This means you have to apply the reiser4-philosophy: A
>>> file can have sub files (is not only a file but also a directory of
>>> subfiles). Why not creating a new reiser4 specific file type just for
>>> xattr.
>>>       
>> Subfiles are impossible because of a problem on vfs level
>> related to hardlink functionality. It seems not yet resolved...
>>     
>
> Here perhaps I can disagree with you (but keep in mind I am not a kernel hacker and do know nearly as much as the filenames of the reiser4 source):
>
> If subfiles for xattrs

Sorry, I don't understand the above. Both "subfiles" and xattrs are
interfaces to work with file's attributes. If so, then "subfiles for xattrs"
sound like "buttery butter". No?
 
>  that would be the clean reiser4 solution (in respect of reiser4 philosophy). But it surely breaks linux-vfs doctrins: a file has to be just a file and not a directory.
>   

I don't know such vfs doctrine. Who is the keeper of this doctrine? :-)))

> And aiming fast inclusion in mainline kernel _without_ to have to have hard discussions, then a subfile solution is no go for now. 
>
> But for now in our discussion a push aside of linux-vfs doctins: 
>
> Isn't it easy to hide a new xattrs-subfile-plugin from linux-vfs?  
>   

There is a user interface to work with xattrs, so it can not
be hidden from vfs "de facto".

Subfiles mean one more step in the procedure of name resolution.
You should return an allocated inode to vfs for every such subfile.
So subfiles also can not be hidden. There is a temptation to cheat
vfs, so it will think that it deals with usual files, but such cheating
doesn't lead to happy end..

xattrs is ugly, but working solution,
subfiles are nice, but it doesn't work.. ;)

> Vfs will not see them. If the reiser4 subsystem is asked about xattrs of some file then vfs will see xattrs but no subfile because of the new to create xattrs plugin (it is hiding its content, even its existence) ! 
>
> And with such a new subfile logic for xattrs you can show the potential of reiser4. For example implementing xattr-subfiles as softlinks pointing to one little place where all xattrs of the whole partition are stored. So they can easily been cached. Performance working with xattrs would trump all other available filesystems. 
>
> And you can give the user the most powerful command ever heard: To change the xattr of thousands of files at once !
>
> Ralph
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   


  reply	other threads:[~2008-12-13 19:30 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10 21:34 The reiser4 programming style is recursive? Ralph Ulrich
2008-12-10 21:41 ` Teran McKinney
2008-12-10 22:07   ` Ralph Ulrich
2008-12-10 22:21     ` David Backeberg
2008-12-11  0:09       ` Ralph Ulrich
2008-12-11  4:49     ` Toby Thain
2008-12-10 22:23 ` Edward Shishkin
2008-12-11  0:23   ` Ralph Ulrich
2008-12-11 16:57     ` Edward Shishkin
2008-12-11 17:37       ` Ralph Ulrich
2008-12-11 18:12         ` Edward Shishkin
2008-12-11 19:05           ` Ralph
2008-12-11 22:56             ` Edward Shishkin
2008-12-12 16:21               ` Ralph
2008-12-13 19:30                 ` Edward Shishkin [this message]
2008-12-14 15:24                   ` The... reiser4 with no ambiguity Ralph Ulrich
2008-12-14 19:17                     ` Edward Shishkin
2008-12-16  0:59                       ` Ralph Ulrich
2008-12-17 21:49                         ` Edward Shishkin
2008-12-18 12:28                           ` Ralph Ulrich
2008-12-21 13:38                             ` Edward Shishkin
2008-12-11  0:46   ` The reiser4 .... why it is the future Ralph Ulrich
2008-12-11 11:35     ` The reiser4 .... what it really means Ralph Ulrich
2008-12-11 12:22       ` Ralph Ulrich
2008-12-11 14:36         ` Alexander Lyamin
2008-12-11 17:11           ` The reiser4 ....SDK for experiments outside kernel Ralph
2008-12-11 19:10             ` Edward Shishkin
2008-12-11 19:56               ` Ralph
2008-12-11 23:03                 ` Edward Shishkin
2008-12-11 23:04                 ` Christian Stroetmann OntoLab
2008-12-12  0:54                   ` Ralph
2008-12-11 14:56       ` The reiser4 .... what it really means Christian Stroetmann OntoLab
  -- strict thread matches above, loose matches on Subject: below --
2008-12-12 16:48 The reiser4 programming style is recursive? Mat

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=49440D64.9050900@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=eulenreich@gmx.de \
    --cc=reiserfs-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.