[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix vmtruncate race and distributed filesystem race
Dave McCracken <> wrote:
> I also think if we can solve both the vmtruncate and the distributed file
> system races without adding any vm_ops, we should.
> Here's a new patch. Does this look better?

grumble, mutter. It's certainly simple enough.

+ mapping = vma->vm_file->f_dentry->d_inode->i_mapping;

I'm not so sure about this one now. write() alters dentry->d_inode but
truncate alters dentry->d_inode->i_mapping->host. Unless truncate is
changed we have the wrong mapping here.

I'll put it back to the original while I try to work out why truncate isn't

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:36    [W:0.055 / U:10.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site