Re: questions on s_files and open.c/filp_open

2000-03-12 Thread Peter J. Braam
I think that's ok with the Coda directories, if not it's really easy to fix in userland for us. Assume it. ObCODA: do you have any sort of alignment for cached directories? It would be ideal if you could guarantee that no entry crosses 4K-boundary in caching file...

Re: [patch-2.3.43-pre5] optimized fsync(2)/fdatasync(2)

2000-02-09 Thread Peter J. Braam
The kernel lock is released the moment the process is put asleep in the upcall. Keep that in mind. - Peter - On Wed, 9 Feb 2000, Jan Harkes wrote: On Wed, Feb 09, 2000 at 06:36:34PM -0500, Alexander Viro wrote: On Wed, 9 Feb 2000, Tigran Aivazian wrote: Hi Linus, I have

broken brw_kiovec with more than one kiobuf

2000-01-23 Thread Peter J. Braam
Hi Stephen, I have some trouble with using brw_kiovec when the vector contains more than one kiobuf. Suppose we pass in an array of 2 kiobufs, each for one page. It seems to me that the invocation of do_kio in the inner (block) loop will not happen, neither for iovec[0], nor for iovec[1],

lost partition table

2000-01-20 Thread Peter J. Braam
Hi, A friend lost her partition table... Is there a scanning tool that can restore it? Thanks! - Peter -

Re: O_EXCL and network FS's

2000-01-06 Thread Peter J. Braam
GFS gets it right, but solely by the grace that the VFS is not yet fully threaded, and they have to do the O_EXCL tests twice, once in the VFS while holding a readlock and then in GFS with a write lock. In d_revalidate they take a readlock and validate it is still good and release

Re: O_EXCL and network FS's

2000-01-05 Thread Peter J. Braam
Hi Al, I agree with your reply and kept thinking more about this. We concluded that lookup_dentry is _the_ point where passing a flag to the FS makes a lot of sense if the file system maintains locks - and the flags you suggest are better than my suggestions. (For people who haven't followed

Object Based Storage and File System Snapshots: alpha release

1999-12-23 Thread Peter J. Braam
hat we can tell you where we are heading. We expect to release more software frequently now - subscribe to the obd-announce mailing list if you want to be informed. Stelias wishes to thank many for support, advice and stimulating discussions on this topic. Peter J. Braam - [EMAIL PROTECTED

Re: Can't hardlink in different dirs. (BUG#826)

1999-12-02 Thread Peter J. Braam
On Wed, 1 Dec 1999, Peter J. Braam wrote: 2. Hard links across directories are not permitted. Jan explained that security is an issue here. I think there is wrong thinking in the way Unix does things normally and the security argument goes away when the following reasoning

Re: Can't hardlink in different dirs. (BUG#826)

1999-12-02 Thread Peter J. Braam
Let's just take one step back. Al has successfully pointed out that one should not expect too much in terms of security improvements for my hardlink suggestion. Al additionally gave two reasons, totally unrelated to the security issues, not to implement the link semantics as I suggested:

page_cache: how does generic_file_read really work?

1999-09-17 Thread Peter J. Braam
Hi I wondered if someone could explain what is happening in generic_file_read: More generically, I'd like to understand how in a file system I can "get" a page and use it to copy date into/out of it. How do I then put the page away? There seem to be several patterns, but I can't figure them