[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] [PATCH] fuse: update inode size and invalidate attributes on fallocate
From:       Miklos Szeredi <miklos () szeredi ! hu>
Date:       2013-05-20 15:46:07
Message-ID: CAJfpegt3QO13iSfwhR2TyyBk0hYZXVv29PC2msJjvXZ81w_UyQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, May 17, 2013 at 9:27 PM, Brian Foster <bfoster@redhat.com> wrote:
> An fallocate request without FALLOC_FL_KEEP_SIZE set can extend the
> size of a file. Update the inode size after a successful fallocate.
>
> Also invalidate the inode attributes after a successful fallocate
> to ensure we pick up the latest attribute values (i.e., i_blocks).

Thanks, applied.

Miklos

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic