All of lore.kernel.org
 help / color / mirror / Atom feed
* working on extent locks for i_mutex
@ 2012-01-13  3:01 Allison Henderson
  2012-01-13  4:01 ` Andreas Dilger
  2012-01-13  4:34   ` Dave Chinner
  0 siblings, 2 replies; 22+ messages in thread
From: Allison Henderson @ 2012-01-13  3:01 UTC (permalink / raw)
  To: Ext4 Developers List, Lukas Czerner

Hi All,

I know this is an old topic, but I am poking it again because I've had 
some work items wrap up, and Im planning on picking up on this one 
again.  I am thinking about implementing extent locks to replace 
i_mutex.  So I just wanted to touch base with folks and see what people 
are working on because I know there were some folks out there that were 
thing about doing similar solutions.

A while ago I had done some investigation on where i_mutex is currently 
used, so I did a review and updated my list.  Only one thing had been 
removed, but I will leave the list here since it was a while ago.  Let 
me know if anyone has been working on similar concept.  Thx!

Allison


List of ext4 functions that lock i_mutex:
ext4_sync_file
ext4_fallocate
ext4_move_extents via two helper routines:
     mext_inode_double_lock and mext_inode_double_unlock
ext4_ioctl (for the EXT4_IOC_SETFLAGS ioctl)
ext4_quota_write
ext4_llseek
ext4_end_io_work
ext4_ind_direct_IO (only while calling ext4_flush_completed_IO)


Functions called by vfs with i_mutex locked:
ext4_setattr
ext4_da_writepages
ext4_rmdir
ext4_unlink
ext4_symlink
ext4_link
ext4_rename
ext4_get_block


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-01-20  2:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13  3:01 working on extent locks for i_mutex Allison Henderson
2012-01-13  4:01 ` Andreas Dilger
2012-01-13 20:50   ` Allison Henderson
2012-01-13  4:34 ` Dave Chinner
2012-01-13  4:34   ` Dave Chinner
2012-01-13  7:14   ` Tao Ma
2012-01-13  7:14     ` Tao Ma
2012-01-13 11:52     ` Dave Chinner
2012-01-13 11:52       ` Dave Chinner
2012-01-13 11:57       ` Tao Ma
2012-01-13 11:57         ` Tao Ma
2012-01-13 20:50   ` Allison Henderson
2012-01-13 20:50     ` Allison Henderson
2012-01-15 23:57     ` Dave Chinner
2012-01-15 23:57       ` Dave Chinner
2012-01-16 17:46       ` Allison Henderson
2012-01-18 12:02         ` Zheng Liu
2012-01-18 12:02           ` Zheng Liu
2012-01-19 21:16           ` Frank Mayhar
2012-01-19 21:16             ` Frank Mayhar
2012-01-20  2:26             ` Zheng Liu
2012-01-20  2:26               ` Zheng Liu

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.