From: Grant Miner <mine0057@mrs.umn.edu>
To: reiserfs-list@namesys.com
Subject: Re: Reiser4 can't compile glibc
Date: Tue, 13 Apr 2004 20:54:21 -0500 [thread overview]
Message-ID: <407C99CD.5060205@mrs.umn.edu> (raw)
In-Reply-To: <1081866113.1538.45.camel@tribesman.namesys.com>
Thanks. I put on that patch and it fixes my make problem.
Vladimir Saveliev wrote:
>Hello
>
>On Mon, 2004-04-12 at 20:53, Szakacsits Szabolcs wrote:
>
>
>>What timestamp resolution Reiser4 has? Ext[23] can't compile gcc because
>>[kernel bugs] and it doesn't have on-disk high resolution timestamps
>>thus the dependency during compilation breaks.
>>
>>But somehow I doubt this would be the case, all modernish filesystem
>>designed in the last 10 years has at least nanosec resolution.
>>
>>
>>
>yes, reiser4 by default has the same time resolution as ext[23] and
>reiserfs.
>However, I think that i found the problem already. The attached patch
>for fs/reiser4/plugin/item/tail.c should help.
>
>
>
>
>> Szaka
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>--- tail.c~ 2004-04-13 18:18:52.000000000 +0400
>>+++ tail.c 2004-04-13 18:20:14.000000000 +0400
>>@@ -463,12 +463,18 @@
>> }
>>
>> inode = mapping->host;
>>- if (get_key_offset(&f->key) > inode->i_size)
>>+ if (get_key_offset(&f->key) > inode->i_size) {
>>+ assert("vs-1649", f->user == 1);
>> INODE_SET_FIELD(inode, i_size, get_key_offset(&f->key));
>>- inode->i_ctime = inode->i_mtime = CURRENT_TIME;
>>- result = reiser4_update_sd(inode);
>>- if (result)
>>- return result;
>>+ }
>>+ if (f->user != 0) {
>>+ /* this was writing data from user space. Update timestamps, therefore. Othrewise, this is tail
>>+ conversion where we should not update timestamps */
>>+ inode->i_ctime = inode->i_mtime = CURRENT_TIME;
>>+ result = reiser4_update_sd(inode);
>>+ if (result)
>>+ return result;
>>+ }
>>
>> /* FIXME-VS: this is temporary: the problem is that bdp takes inodes
>> from sb's dirty list and it looks like nobody puts there inodes of
>>
>>
next prev parent reply other threads:[~2004-04-14 1:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-10 10:07 On plugins, on-disk formatting and such mjt
2004-04-12 13:30 ` Alex Zarochentsev
2004-04-12 13:39 ` mjt
2004-04-12 15:13 ` Hans Reiser
2004-04-12 15:28 ` Vladimir Saveliev
2004-04-12 16:53 ` Reiser4 can't compile glibc Szakacsits Szabolcs
2004-04-13 14:21 ` Vladimir Saveliev
2004-04-13 14:49 ` Szakacsits Szabolcs
2004-04-13 16:34 ` Hans Reiser
2004-04-14 1:54 ` Grant Miner [this message]
2004-04-14 8:50 ` mjt
2004-04-12 15:15 ` On plugins, on-disk formatting and such Hans Reiser
2004-04-12 15:33 ` mjt
2004-04-12 18:09 ` Hans Reiser
2004-04-12 16:19 ` Hubert Chan
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=407C99CD.5060205@mrs.umn.edu \
--to=mine0057@mrs.umn.edu \
--cc=reiserfs-list@namesys.com \
/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.