[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8763i5xi6j.fsf@devron.myhome.or.jp>
Date: Fri, 20 Mar 2009 07:27:00 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: Mikulas Patocka <mpatocka@...hat.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] deadlock when swapping to FAT
Mikulas Patocka <mpatocka@...hat.com> writes:
> It should prevent truncation under bmap. It is used by direct-io code to
> protect the file from being truncated while there's direct-io being
> processed on it.
I know, FAT is ok, of course, and the simple fs would also be ok.
However, it's not enough for all filesystems, in theory.
> But some filesystems do their own direct-io locking (for example XFS). So
> I think it would be best to place the lock to generic_block_bmap, so that
> filesystem that doesn't want the lock can easily avoid it.
>
> You can submit this patch after 2.6.29 is released.
I don't have objection to it. Please submit it yourself.
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists