aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-03 14:51:00 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:59 -0400
commitd666746207a01546e55bdaa4b721d1890faaf6e8 (patch)
tree9ed65e121a44aace7364551b6b607e098a590770 /fs/btrfs/inode.c
parent73e48b277a3fcd647f1936c71aea2f8d450ecc74 (diff)
Btrfs: Change st_blocksize to 4k
Some programs (python) do rwm cycles at the granularity returned by stat. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 6e2d03626fb9..6d0cd9a7a615 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2701,7 +2701,7 @@ static int btrfs_getattr(struct vfsmount *mnt,
2701{ 2701{
2702 struct inode *inode = dentry->d_inode; 2702 struct inode *inode = dentry->d_inode;
2703 generic_fillattr(inode, stat); 2703 generic_fillattr(inode, stat);
2704 stat->blksize = 256 * 1024; 2704 stat->blksize = PAGE_CACHE_SIZE;
2705 return 0; 2705 return 0;
2706} 2706}
2707 2707