From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Artem B. Bityuckiy" Subject: Re: Reiser4 + seekdir() Date: Wed, 29 Jun 2005 10:51:04 +0400 Message-ID: <42C244D8.1070408@yandex.ru> References: <42BFC6B0.7040202@yandex.ru> <1119872500.4257.260.camel@tribesman.namesys.com> <42BFEC62.1010907@yandex.ru> <1119875956.4256.277.camel@tribesman.namesys.com> <42BFF7D3.3010206@yandex.ru> <1119880168.4257.326.camel@tribesman.namesys.com> <42C004E0.5060405@yandex.ru> <42C0588C.7030905@namesys.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <42C0588C.7030905@namesys.com> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Hans Reiser Cc: Vladimir Saveliev , reiserfs-list@namesys.com Hans Reiser wrote: > thanks Artem. If you are generous enough to help us with those comments > and renames, I'll take a patch to do it. If you are too busy though, > vs, can you fix it? Hans, I may prepare and send a patch once I've realized what is the purpose and function of these two direntry plugins. SEEKABLE_HASHED_DIR_PLUGIN_ID and The HASHED_DIR_PLUGIN_ID plugin's destination is clear - it is general purpose plugin which should be used in 99% cases except something special is needed. The plugin implies the dentries are roughly alphabetically sorted and go in the same order as stat-data. Fine SEEKABLE_HASHED_DIR_PLUGIN_ID - dunno, it it the same as the HASHED_DIR_PLUGIN_ID plugin, but the key assignment algorithm is much simpler. What's the purpose of this plugin? I understand that it used to be mostly seekable while the first one was not seekable when the adjust_dir_pos() feature did not exist. But at the moment, what for is it ? -- Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.