[PATCH 05/16] btrfs: use is_xxx_kiocb instead of filp->fl_flags

2015-04-04 Thread Dmitry Monakhov
Cc: linux-btrfs@vger.kernel.org Signed-off-by: Dmitry Monakhov --- fs/btrfs/file.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index aee18f8..4dc3856 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1747,7 +1747,7 @@ static

Re: [PATCH] mm: check memory reclaim bugs caused fs reentrance

2014-11-12 Thread Dmitry Monakhov
Dave Chinner writes: > On Tue, Nov 11, 2014 at 03:49:50PM +0400, Dmitry Monakhov wrote: >> If filesystem holds transaction open 'current->journal_info' it should not >> performs memory allocations with __GFP_FS flag enabled otherwise this result >> in fs

btrfs re-entrance bugs

2014-11-11 Thread Dmitry Monakhov
Dmitry Monakhov writes: > If filesystem holds transaction open 'current->journal_info' it should not > performs memory allocations with __GFP_FS flag enabled otherwise this result > in fs > reentarance which lead to: > 1) reentrance to itself : deadlock or inter

[PATCH] mm: check memory reclaim bugs caused fs reentrance

2014-11-11 Thread Dmitry Monakhov
s 1) entrance to another fs: assertion faulure or silient corruption due to incorrect journal Signed-off-by: Dmitry Monakhov --- include/linux/kernel.h |7 +++ mm/dmapool.c |1 + mm/mempool.c |1 + mm/page_alloc.c|1 + mm/slab.c |1

[PATCH 04/19] btrfs: replace inode uid,gid,mode initialization with helper function

2010-02-17 Thread Dmitry Monakhov
Signed-off-by: Dmitry Monakhov --- fs/btrfs/inode.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 4deb280..ae4f64c 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4145,16 +4145,7 @@ static struct inode

[PATCH 4/4] btrfs: add discard_compat support

2010-02-11 Thread Dmitry Monakhov
If any device in the list has no native discard support we add discard compat support. Devices with native discard support still getting real discard requests. Signed-off-by: Dmitry Monakhov --- fs/btrfs/ctree.h |1 + fs/btrfs/disk-io.c |8 fs/btrfs/extent-tree.c

Re: [PATCH 4/4] btrfs: add discard_compat support

2010-02-11 Thread Dmitry Monakhov
Dmitry Monakhov writes: > If any device in the list has no native discard support we add > discard compat support. Devices with native discard support still > getting real discard requests. Note: Seems what enabling discard requests result in triggering hidden bug. Orphan list c

Re: ext3/jbd oops in journal_start

2009-11-03 Thread Dmitry Monakhov
2009/11/3 Sage Weil : > On Sat, 31 Oct 2009, Dmitry Monakhov wrote: > >> Sage Weil writes: >> >> > Hi, >> > >> > I'm consistently seeing ext3 oops on a fresh ~60 GB fs on 2.6.32-rc3 (and >> > 2.6.31).  data=writeback or data=ordered.