iable as a fallback in the case
that HOSTOS does not work and move the check to common/config.
Signed-off-by: Lukas Czerner
---
check | 8
common/config | 18 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/check b/check
index 8f1a6e1..ed1834d 10
it
would complain on the second run that SCRATCH_DEV is already set. Fix
it by making sure that we call get_next_config() only once if there
are no sections in the config file.
Also make sure that we export SCRATCH_DEV in the case we're deducing it
from SCRATCH_DEV_POOL.
Signed-off-by:
In the case that we already have sections in the config file we
have to make sure that we unset SCRATCH_DEV if it has been deduced from
the SCRATCH_DEV_POOL so that it does not complain about SCRATCH_DEV in
this case.
Signed-off-by: Lukas Czerner
---
common/config | 8 +++-
1 file changed
about file system subvolumes including subvolume nesting
without the need to parse additional information.
Signed-off-by: Lukas Czerner
---
btrfs-list.c |8
btrfs-list.h |2 +-
cmds-subvolume.c |7 ---
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/btrf
This commit introduces new option '-o' to list only subvolumes under the
specified path. This does not change subvolume list behaviour. It has
been default in the past and it is even with this commit.
Signed-off-by: Lukas Czerner
---
cmds-subvolume.c | 11 ---
man/btrfs.8.i
ruction in resolve_root(). This gives us more
flexibility in formatting path output.
Signed-off-by: Lukas Czerner
---
btrfs-list.c | 32 +++-
btrfs-list.h |1 +
cmds-subvolume.c | 11 +--
man/btrfs.8.in |3 ++-
4 files changed, 35 inserti
When we're deleting the device we should get it in write mode since
we're going to re-write the super block magic on that device. And it
should fail if the device is read-only.
Signed-off-by: Lukas Czerner
---
fs/btrfs/volumes.c |2 +-
1 files changed, 1 insertions(+), 1 deletion
J_CHANGE event to the bdev kobject after
successful device removal.
Note that this does not affect device addition, because we will open the
device prior the addition from userspace and udev will notice that and
reread the device afterwards.
Signed-off-by: Lukas Czerner
---
fs/btrfs/volumes.
Currently if len argument in btrfs_ioctl_fitrim() is smaller than
one FSB we will continue and finally return 0 bytes discarded.
However if the length to discard is smaller then file system block
we should really return EINVAL.
Signed-off-by: Lukas Czerner
---
fs/btrfs/ioctl.c |3 ++-
1
On Wed, 14 Mar 2012, Ted Ts'o wrote:
> On Wed, Mar 14, 2012 at 09:12:02AM +0100, Lukas Czerner wrote:
> > I kind of like the idea about having the separate btree with inode
> > numbers for the directory reading, just because it does not affect
> > allocation policy nor t
On Wed, 14 Mar 2012, Yongqiang Yang wrote:
> On Wed, Mar 14, 2012 at 4:12 PM, Lukas Czerner wrote:
> > On Tue, 13 Mar 2012, Ted Ts'o wrote:
> >
> >> On Tue, Mar 13, 2012 at 04:22:52PM -0400, Phillip Susi wrote:
> >> >
> >> > I think a
On Tue, 13 Mar 2012, Ted Ts'o wrote:
> On Tue, Mar 13, 2012 at 04:22:52PM -0400, Phillip Susi wrote:
> >
> > I think a format change would be preferable to runtime sorting.
>
> Are you volunteering to spearhead the design and coding of such a
> thing? Run-time sorting is backwards compatible, a
On Wed, 29 Feb 2012, Jacek Luczak wrote:
> Hi All,
>
> /*Sorry for sending incomplete email, hit wrong button :) I guess I
> can't use Gmail */
>
> Long story short: We've found that operations on a directory structure
> holding many dirs takes ages on ext4.
>
> The Question: Why there's that h
On Wed, 29 Feb 2012, Chris Mason wrote:
> On Wed, Feb 29, 2012 at 02:31:03PM +0100, Jacek Luczak wrote:
> > Hi All,
> >
> > Long story short: We've found that operations on a directory structure
> > holding many dirs takes ages on ext4.
> >
> > The Question: Why there's that huge difference in e
On Wed, 11 Jan 2012, Christoph Hellwig wrote:
> On Tue, Jan 10, 2012 at 07:39:20PM +0800, Liu Bo wrote:
> > When I ran xfstests, 251 got failed cause "cp -axT" did not work as wish:
> > cp: cannot overwrite directory `/mnt/scratch/1' with non-directory
> >
> > With this patch, 251 has passed.
>
On Wed, 7 Dec 2011, Pádraig Brady wrote:
> On 12/07/2011 10:20 AM, Lukas Czerner wrote:
> > Hello everyone,
> >
> > I would like to introduce to you a new tool called System Storage
> > Manager (ssm). It is supposed to provide easy to use command line
> > inter
Hello everyone,
I would like to introduce to you a new tool called System Storage
Manager (ssm). It is supposed to provide easy to use command line
interface to manage your storage using various technologies like
lvm, btrfs, encrypted volumes and possibly more.
Background
--
In more soph
+len
is equal to the file system size in the worst case.
Signed-off-by: Lukas Czerner
---
fs/btrfs/ioctl.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 970977a..ad890ee 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
On Thu, 18 Aug 2011, David Sterba wrote:
> Hi,
>
> I see you are mixing a cleanup while adding a new feature.
>
> On Thu, Aug 18, 2011 at 02:18:26PM +0200, Lukas Czerner wrote:
> > Register fs netlink interface and send proper warning if ENOSPC is
> > encountered.
Register fs netlink interface and send proper warning if ENOSPC is
encountered. Note that we differentiate between enospc for metadata and
enospc for data.
Signed-off-by: Lukas Czerner
Cc: Chris Mason
Cc: linux-btrfs@vger.kernel.org
---
fs/btrfs/extent-tree.c | 13 ++---
fs/btrfs
On Tue, 21 Jun 2011, Lukas Czerner wrote:
> On Mon, 20 Jun 2011, Christoph Hellwig wrote:
>
> > Add a new rw_semaphore to protect page_mkwrite against truncate. Previous
> > i_alloc_sem was abused for this, but it's going away in this series.
> >
> &g
On Mon, 20 Jun 2011, Christoph Hellwig wrote:
> Add a new rw_semaphore to protect page_mkwrite against truncate. Previous
> i_alloc_sem was abused for this, but it's going away in this series.
>
> Signed-off-by: Christoph Hellwig
>
> Index: linux-2.6/fs/ext4/inode.c
> =
On Thu, 24 Feb 2011, Li Dongyang wrote:
> On Monday, February 21, 2011 09:37:21 PM Lukas Czerner wrote:
> > On Mon, 21 Feb 2011, Li Dongyang wrote:
> > > Here is batched discard support for btrfs, several changes were made:
> > >
> > > btrfs_t
On Mon, 21 Feb 2011, Li Dongyang wrote:
> Here is batched discard support for btrfs, several changes were made:
>
> btrfs_test_opt(root, DISCARD) is moved from btrfs_discard_extent
> to callers, as we still want to trim the fs even it's not mounted
> with -o discard.
> btrfs_discard_extent now re
24 matches
Mail list logo