On 12/11/2014 11:53 AM, Duncan wrote:
Dongsheng Yang posted on Wed, 10 Dec 2014 23:02:15 +0800 as excerpted:
And in the example, the mkfs was supplied with two devices, so there's
no dup metadata remaining from a formerly single-device filesystem,
either. (Tho there will be the small single
On 12/11/2014 02:25 AM, Goffredo Baroncelli wrote:
On 12/10/2014 11:53 AM, Robert White wrote:
On 12/09/2014 05:08 PM, Dongsheng Yang wrote:
On 12/10/2014 02:47 AM, Goffredo Baroncelli wrote:
Hi Dongsheng On 12/09/2014 12:20 PM, Dongsheng Yang wrote:
When function btrfs_statfs() calculate
== @Size as possible to user.
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
Changelog:
v1 - v2:
a. account the total_bytes in medadata chunk and
system chunk as used to user.
b. set data_stripes to the correct value in RAID0.
fs
type.
Then we can use it more easily.
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/raid56.h | 8
fs/btrfs/volumes.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/raid56.h b/fs/btrfs/raid56.h
index ea5d73b..68ac9d3 100644
--- a/fs
1 size 2.00GiB used 1.85GiB path /dev/vdf1
devid2 size 4.00GiB used 1.83GiB path /dev/vdf2
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/super.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs
On 12/12/2014 02:25 AM, Josef Bacik wrote:
On 12/10/2014 03:09 AM, Dongsheng Yang wrote:
On 12/09/2014 11:42 PM, Josef Bacik wrote:
On 12/09/2014 06:27 AM, Dongsheng Yang wrote:
When we exceed quota limit in writing, we will free
some reserved extent when we need to drop but not free
account
On 12/09/2014 11:55 PM, Josef Bacik wrote:
On 12/09/2014 06:27 AM, Dongsheng Yang wrote:
Currently, for pre_alloc or delay_alloc, the bytes will be accounted
in space_info by the three guys.
space_info-bytes_may_use --- space_info-reserved --- space_info-used.
But on the other hand, in qgroup
On 12/09/2014 11:42 PM, Josef Bacik wrote:
On 12/09/2014 06:27 AM, Dongsheng Yang wrote:
When we exceed quota limit in writing, we will free
some reserved extent when we need to drop but not free
account in qgroup. It means, each time we exceed quota
in writing, there will be some remain space
On Wed, Dec 10, 2014 at 6:53 PM, Robert White rwh...@pobox.com wrote:
On 12/09/2014 05:08 PM, Dongsheng Yang wrote:
On 12/10/2014 02:47 AM, Goffredo Baroncelli wrote:
Hi Dongsheng
On 12/09/2014 12:20 PM, Dongsheng Yang wrote:
When function btrfs_statfs() calculate the tatol size of fs
On Wed, Dec 10, 2014 at 9:59 PM, Shriramana Sharma samj...@gmail.com wrote:
On Tue, Dec 9, 2014 at 4:50 PM, Dongsheng Yang
yangds.f...@cn.fujitsu.com wrote:
# df -h /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/vdf1 3.0G 1018M 1.3G 45% /mnt
LOL -- not being
On Wed, Dec 10, 2014 at 9:21 PM, Duncan 1i5t5.dun...@cox.net wrote:
Robert White posted on Wed, 10 Dec 2014 02:53:40 -0800 as excerpted:
On 12/09/2014 05:08 PM, Dongsheng Yang wrote:
On 12/10/2014 02:47 AM, Goffredo Baroncelli wrote:
Hi Dongsheng On 12/09/2014 12:20 PM, Dongsheng Yang wrote
bytes used 1001.55MiB
devid1 size 2.00GiB used 1.85GiB path /dev/vdf1
devid2 size 4.00GiB used 1.83GiB path /dev/vdf2
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/extent-tree.c | 13 ++---
fs/btrfs/super.c | 47
up.
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/extent-tree.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index a84e00d..014b7f2 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/extent-tree.c | 25 ++-
fs/btrfs/inode.c | 22 +++-
fs/btrfs/qgroup.c | 68 +++---
fs/btrfs/qgroup.h | 4 +++
4 files changed, 113 insertions(+), 6
On 12/10/2014 02:47 AM, Goffredo Baroncelli wrote:
Hi Dongsheng
On 12/09/2014 12:20 PM, Dongsheng Yang wrote:
When function btrfs_statfs() calculate the tatol size of fs, it is calculating
the total size of disks and then dividing it by a factor. But in some usecase,
the result is not good
On 11/13/2014 11:05 AM, Dongsheng Yang wrote:
On 11/12/2014 10:04 PM, Cyril Scetbon wrote:
Anyone on this ? There is an issue with quotas depending on the write
rate. The more we can write before a sync, the more we can exceed
quotas limits
Hi Cyril, I attempted to reproduce the problem you
On 11/12/2014 10:04 PM, Cyril Scetbon wrote:
Anyone on this ? There is an issue with quotas depending on the write rate. The
more we can write before a sync, the more we can exceed quotas limits
Hi Cyril, I attempted to reproduce the problem you reported in
Linux.3.17, but failed.
It seems
btrfs_block_group_cache to make sure we can get the accurate @used_bytes.
Reported-by: Qu Wenruo quwen...@cn.fujitsu.com
Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
---
fs/btrfs/ioctl.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 33c80f5
101 - 118 of 118 matches
Mail list logo