Displaying 20 results from an estimated 98 matches for "isize".
Did you mean:
size
2013 Apr 16
2
[PATCH v2] Btrfs: return error when we specify wrong start to defrag
...c
index 69cd80d..262d9db 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -1152,8 +1152,11 @@ int btrfs_defrag_file(struct inode *inode, struct file *file,
u64 new_align = ~((u64)128 * 1024 - 1);
struct page **pages = NULL;
- if (extent_thresh == 0)
- extent_thresh = 256 * 1024;
+ if (isize == 0)
+ return 0;
+
+ if (range->start >= isize)
+ return -EINVAL;
if (range->flags & BTRFS_DEFRAG_RANGE_COMPRESS) {
if (range->compress_type > BTRFS_COMPRESS_TYPES)
@@ -1162,8 +1165,8 @@ int btrfs_defrag_file(struct inode *inode, struct file *file,
compress_type = r...
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using
experimental compression that isn''t in mainline kernels, be prepared to backup
and restore or decompress before upgrading, and have backups in case it eats
data (which appears not to be a problem any more, but has been during
development).
These patches add lz4 and lz4hc compression
2013 Oct 22
0
[PATCH] Btrfs-progs: add support for the no holes incompat flag
...+444,9 @@ static void maybe_free_inode_rec(struct cache_tree *inode_cache,
rec->errors |= I_ERR_FILE_NBYTES_WRONG;
if (rec->extent_start == (u64)-1 || rec->extent_start > 0)
rec->first_extent_gap = 0;
- if (rec->nlink > 0 && (rec->extent_end < rec->isize ||
- rec->first_extent_gap < rec->isize))
+ if (rec->nlink > 0 && !no_holes &&
+ (rec->extent_end < rec->isize ||
+ rec->first_extent_gap < rec->isize))
rec->errors |= I_ERR_FILE_EXTENT_DISCOUNT;
}
@@ -6155,6 +6157,14 @@ i...
2017 Sep 20
4
xfs not getting it right?
...devices when creating the
file system, but it doesn?t seem to do that:
# cat /proc/mdstat
Personalities : [raid1]
md10 : active raid1 sde[1] sdd[0]
499976512 blocks super 1.2 [2/2] [UU]
bitmap: 0/4 pages [0KB], 65536KB chunk
# mkfs.xfs /dev/md10p2
meta-data=/dev/md10p2 isize=512 agcount=4, agsize=30199892 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=0, sparse=0
data = bsize=4096 blocks=120799568, imaxpct=25
= sunit=0 swi...
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi,
so here it is, LZ4 compression method inside btrfs. The patchset is based on
top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from
Li Zefan. Passes xfstests and stresstests.
I haven''t measured performance on wide range of hardware or workloads, rather
wanted to publish the patches before I get distracted again. I''d like to ask
2013 Sep 16
2
Numbers behind "df" and "tune2fs"
...st checked: Wed Aug 28 08:30:10 2013
Check interval: 15552000 (6 months)
Next check after: Mon Feb 24 07:30:10 2014
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: ad2251a9-ac33-4e5e-b933-af49cb4f2bb3
Journal backup: inode blocks
$ df --block-size=1 /dev/mapper/datavg-datalogslv
Filesystem 1B-blocks...
2014 Aug 17
3
Re: What uses these 50 GB?
...ystem UUID: 75d6aae6-1746-4260-994b-148dfdb5af95
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index
filetype needs_recovery extent flex_bg sparse_super large_file huge_file
uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 29310976
Block count: 117212886
Reserved block count: 5860644
Free b...
2010 Jul 16
1
[PATCH] ocfs2: make __ocfs2_page_mkwrite handle file end properly.
__ocfs2_page_mkwrite now is broken in handling file end.
1. the last page should be the page contains i_size - 1.
2. the len in the last page is also calculated wrong.
So change them accordingly.
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/mmap.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
index
2013 Sep 16
2
Re: Numbers behind "df" and "tune2fs"
...interval: 15552000 (6 months)
>> Next check after: Mon Feb 24 07:30:10 2014
>> Reserved blocks uid: 0 (user root)
>> Reserved blocks gid: 0 (group root)
>> First inode: 11
>> Inode size: 256
>> Required extra isize: 28
>> Desired extra isize: 28
>> Journal inode: 8
>> Default directory hash: half_md4
>> Directory Hash Seed: ad2251a9-ac33-4e5e-b933-af49cb4f2bb3
>> Journal backup: inode blocks
>>
>> $ df --block-size=1 /dev/mapper/da...
2013 Sep 16
0
Re: Numbers behind "df" and "tune2fs"
...08:30:10 2013
> Check interval: 15552000 (6 months)
> Next check after: Mon Feb 24 07:30:10 2014
> Reserved blocks uid: 0 (user root)
> Reserved blocks gid: 0 (group root)
> First inode: 11
> Inode size: 256
> Required extra isize: 28
> Desired extra isize: 28
> Journal inode: 8
> Default directory hash: half_md4
> Directory Hash Seed: ad2251a9-ac33-4e5e-b933-af49cb4f2bb3
> Journal backup: inode blocks
>
> $ df --block-size=1 /dev/mapper/datavg-datalogslv
> Filesy...
2012 Dec 17
1
Code works standalone, yet same code fails when part of package
.../read.bam.R")
> read.bam
function(bamfile=NULL, chr=NULL, start=1, end=1e07, what=c("qname", "flag",
"rname", "strand", "pos", "qwidth", "mapq", "cigar", "mrnm", "mpos",
"isize", "seq"), tag=c("NM"), removeN=TRUE) {
which <- RangesList(chr = IRanges(start,end))
names(which) <- chr
param <- ScanBamParam(which = which, what = what, tag=tag)
bam <- scanBam(bamfile, param=param)
lst <- lapply(n...
2013 Sep 16
0
Re: Numbers behind "df" and "tune2fs"
...52000 (6 months)
>>> Next check after: Mon Feb 24 07:30:10 2014
>>> Reserved blocks uid: 0 (user root)
>>> Reserved blocks gid: 0 (group root)
>>> First inode: 11
>>> Inode size: 256
>>> Required extra isize: 28
>>> Desired extra isize: 28
>>> Journal inode: 8
>>> Default directory hash: half_md4
>>> Directory Hash Seed: ad2251a9-ac33-4e5e-b933-af49cb4f2bb3
>>> Journal backup: inode blocks
>>>
>>> $ df -...
2011 Nov 16
4
not using LVM for Linux VM guests?
...xtend
7. Resize2fs
Going to a LVM/partition-less setup reduces expansion to 3 steps and we don't need to take the VM OS offline!
1. Increase size of VMDK
2- Inside the VM, OS, rescan the scsi drive with:'echo 1 >/sys/class/scsi_device//rescan; dmesg' (dmesg will check that you drive isize has grown)
3- Resize2fs.
Our current disk arrangement has 3 VM HD devices
0 - small device (100M) with a single BOOT partition
1 - entire device is /
2 - entire device is SWAP
Doing this has simplified resizing so much, I now let the junior admins and my manager expand drive space as needed.
It&...
2014 Aug 17
0
Re: What uses these 50 GB?
...Wed Apr 16 06:31:53 2014
> Check interval: 0 (<none>)
> Lifetime writes: 133 MB
> Reserved blocks uid: 0 (user root)
> Reserved blocks gid: 0 (group root)
> First inode: 11
> Inode size: 256
> Required extra isize: 28
> Desired extra isize: 28
> Journal inode: 8
> First orphan inode: 8388637
...
Ok, pretty standard, and it appears that you mkfs'd it in april,
mounted it, and have never unmounted it. (Nor has it ever crashed,
apparently).
Also, the last line above sh...
2017 Sep 20
0
xfs not getting it right?
...esn?t seem to do that:
>
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md10 : active raid1 sde[1] sdd[0]
> 499976512 blocks super 1.2 [2/2] [UU]
> bitmap: 0/4 pages [0KB], 65536KB chunk
>
>
> # mkfs.xfs /dev/md10p2
> meta-data=/dev/md10p2 isize=512 agcount=4, agsize=30199892
> blks
> = sectsz=512 attr=2, projid32bit=1
> = crc=1 finobt=0, sparse=0
> data = bsize=4096 blocks=120799568, imaxpct=25
> =...
2017 Sep 20
1
xfs not getting it right?
...;> # cat /proc/mdstat
>> Personalities : [raid1]
>> md10 : active raid1 sde[1] sdd[0]
>> 499976512 blocks super 1.2 [2/2] [UU]
>> bitmap: 0/4 pages [0KB], 65536KB chunk
>>
>>
>> # mkfs.xfs /dev/md10p2
>> meta-data=/dev/md10p2 isize=512 agcount=4, agsize=30199892
>> blks
>> = sectsz=512 attr=2, projid32bit=1
>> = crc=1 finobt=0, sparse=0
>> data = bsize=4096 blocks=120799568, imaxpct=25
>>...
2014 Dec 03
7
[PATCH] Improve LPC order guess
Hi,
This patch improves compression a very tiny bit on average, but
up to 0.1 percentage point for classical music. I haven't found
any tracks that show worsening compression with this patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-LPC-order-guess.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url :
2023 Jul 04
1
remove_me files building up
Hi,
Thanks for your response, please find the xfs_info for each brick on the arbiter below:
root at uk3-prod-gfs-arb-01:~# xfs_info /data/glusterfs/gv1/brick1
meta-data=/dev/sdc1 isize=512 agcount=31, agsize=131007 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1
data = bsize=4096 blocks=3931899, imaxpct=25...
2015 Aug 06
1
xfs quota weirdness
...m operating system.
disks are as follow:
/dev/mapper/storage-samba_home on /samba_home type xfs
(rw,relatime,attr2,delaylog,usrquota)
/dev/mapper/storage-samba_share on /samba_share type xfs
(rw,relatime,attr2,delaylog,usrquota)
sudo xfs_info /samba_home/
meta-data=/dev/mapper/storage-samba_home isize=256 agcount=24,
agsize=32768000 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=757405696, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =inte...
2023 Mar 02
1
[PATCH] ocfs2: Fix data corruption after failed write
...diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index 1d65f6ef00ca..0394505fdce3 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1977,11 +1977,26 @@ int ocfs2_write_end_nolock(struct address_space *mapping,
}
if (unlikely(copied < len) && wc->w_target_page) {
+ loff_t new_isize;
+
if (!PageUptodate(wc->w_target_page))
copied = 0;
- ocfs2_zero_new_buffers(wc->w_target_page, start+copied,
- start+len);
+ new_isize = max_t(loff_t, i_size_read(inode), pos + copied);
+ if (new_isize > page_offset(wc->w_target_page))
+ ocfs2_zero_new_buffers(...