On Wed, Jan 23, 2008 at 02:06:59PM -0800, Andrew Morton wrote:
> > On Mon, 21 Jan 2008 22:02:09 -0500 "Theodore Ts'o" <[EMAIL PROTECTED]>
> > wrote:
> > +int ext4_get_blocks_wrap(handle_t *handle, struct inode *inode, sector_t
> > block,
> > + unsigned long max_blocks, struct bu
On Wed, Jan 23, 2008 at 02:06:59PM -0800, Andrew Morton wrote:
> > On Mon, 21 Jan 2008 22:02:09 -0500 "Theodore Ts'o" <[EMAIL PROTECTED]>
> > wrote:
> > +int ext4_get_blocks_wrap(handle_t *handle, struct inode *inode, sector_t
> > block,
> > + unsigned long max_blocks, struct bu
> On Mon, 21 Jan 2008 22:02:09 -0500 "Theodore Ts'o" <[EMAIL PROTECTED]> wrote:
> +int ext4_get_blocks_wrap(handle_t *handle, struct inode *inode, sector_t
> block,
> + unsigned long max_blocks, struct buffer_head *bh,
> + int create, int extend_disksize)
>
From: Aneesh Kumar K.V <[EMAIL PROTECTED]>
We are currently taking the truncate_mutex for every read. This would have
performance impact on large CPU configuration. Convert the lock to read write
semaphore and take read lock when we are trying to read the file.
Signed-off-by: Aneesh Kumar K.V <[E
4 matches
Mail list logo