> + devno= blkid_probe_get_devno(probe);
*gasp*
:)
- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 4/11/13 5:35 AM, Miao Xie wrote:
> Now, we set incompat flag EXTEND_IREF when we actually need insert a
> extend inode reference, not when making a fs. But some users may hope
> that the fs still can be mounted on the old kernel, and don't hope we
> insert any extend inode references. So we intr
On Sun, Apr 07, 2013 at 07:41:04AM +0530, Shripad Ratnaparkhi wrote:
> Yup, that is exactly the case.
> I got to know about no support of fsck.btrfs at boot up, so symlinked
> btrfsck and built the initrd.
https://btrfs.wiki.kernel.org/index.php/FAQ#What.27s_the_difference_between_btrfsck_and_fsck
On Wed, Apr 10, 2013 at 04:23:21PM +0800, Anand Jain wrote:
> diff --git a/cmds-device.c b/cmds-device.c
> index a90fb67..0e1e6de 100644
> --- a/cmds-device.c
> +++ b/cmds-device.c
> @@ -185,9 +185,10 @@ static const char * const cmd_scan_dev_usage[] = {
>
> static int cmd_scan_dev(int argc, cha
On Fri, Apr 05, 2013 at 01:54:57PM +0800, Anand Jain wrote:
> In the cases where one of the disk is not suitable for
> btrfs, then we would fail the mkfs, however we determine
> that after we have written btrfs to the preceding disks.
> At this time if user changes mind for not to use btrfs
> will
On Fri, Apr 05, 2013 at 01:54:56PM +0800, Anand Jain wrote:
> --- a/cmds-balance.c
> +++ b/cmds-balance.c
> @@ -662,8 +662,12 @@ static int cmd_balance_status(int argc, char **argv)
> close(fd);
>
> if (ret < 0) {
> + if (e == ENOTCONN) {
> + printf("No
On Fri, Apr 12, 2013 at 02:34:59PM +0200, Adam Ryczkowski wrote:
> If so, please tell me, what is the first confirmed kernel version, which
> supports this. Or at least, is it available on Kernel 3.5.
>
> I know, that it is possible to assign nodatacow attribute to files with
> "chattr +C ", if th
If so, please tell me, what is the first confirmed kernel version, which
supports this. Or at least, is it available on Kernel 3.5.
I know, that it is possible to assign nodatacow attribute to files with
"chattr +C ", if the file has zero length.
Thank you
--
Adam Ryczkowski
+48505919892
Sk
From: Wang Shilong
Walking backref tree and btrfs quota rely on ulist very much.
This patch tries to use rb_tree to speed up search time.
The original code always checks whether an element
exists before adding a new element, however it costs O(n).
I try to add a rb_tree in the ulist,this is onl
Hello,
> On Fri, 12 Apr 2013 16:39:55 +0800, Wang Shilong wrote:
> [...]
>>> + if (ritem && !is_v0) {
>>> + rinfo->cgen = btrfs_root_ctransid(ritem);
>>> + rinfo->ogen = btrfs_root_otransid(ritem);
>>> + rinfo->sgen = btrfs_root_stransid(ritem);
>>> + rinf
On Fri, 12 Apr 2013 16:39:55 +0800, Wang Shilong wrote:
[...]
>> +if (ritem && !is_v0) {
>> +rinfo->cgen = btrfs_root_ctransid(ritem);
>> +rinfo->ogen = btrfs_root_otransid(ritem);
>> +rinfo->sgen = btrfs_root_stransid(ritem);
>> +rinfo->rgen = bt
Hello Stefan,
[snip]
..
> -static int update_root(struct root_lookup *root_lookup,
> -u64 root_id, u64 ref_tree, u64 root_offset, u64 flags,
> -u64 dir_id, char *name, int name_len, u64 ogen, u64 gen,
> -time_t ot, void *uuid, void *puui
The parent UUID, all generation values and all timestamps that
are available in the root_item are added.
Signed-off-by: Stefan Behrens
---
v2 -> v3:
- After Wang Shilong explained the purpose of one part of the code
where I added a "TODO: what is it good for?" comment, a mistake was
visible,
On Fri, 12 Apr 2013 09:42:43 +0800, Wang Shilong wrote:
>> +if (ritem && !is_v0) {
>> +rinfo->cgen = btrfs_root_ctransid(ritem);
>> +rinfo->ogen = btrfs_root_otransid(ritem);
>> +rinfo->sgen = btrfs_root_stransid(ritem);
>> +rinfo->rgen = btrfs_ro
If one of the copy of the superblock is zero it does not
confirm to us that btrfs isn't there on that disk. When
we are having more than one copy of superblock we should
rather let the for loop to continue to check other copies.
the following test case and results would justify the
fix
mkfs.btrfs
On Fri, 12 Apr 2013 08:58:27 +0800, Wang Shilong wrote:
>> "btrfs subvolume list" gets a new option "--fields=..." which allows
>> to specify which pieces of information about subvolumes shall be
>> printed. This is necessary because this commit also adds all the so
>> far missing items from the ro
On Fri, April 12, 2013 at 06:13 (+0200), Miao Xie wrote:
> Onthu, 11 Apr 2013 16:29:48 +0200, Jan Schmidt wrote:
>> On Thu, April 11, 2013 at 12:35 (+0200), Miao Xie wrote:
>>> Now, we set incompat flag EXTEND_IREF when we actually need insert a
>>> extend inode reference, not when making a fs.
17 matches
Mail list logo