Re: 2.4.20pre5aa1

From: Christoph Hellwig (hch@infradead.org)
Date: Thu Sep 05 2002 - 14:26:52 EST


On Thu, Sep 05, 2002 at 08:15:30PM +0100, Christoph Hellwig wrote:
> Won't happen:
>
>
> O_DIRECT write starts
> + takes XFS iolock exclusive
> - invalidates pagecache
> + downgrades iolock to shared
> - perform write
>
> xfs_setattr for truncate called
> + takes XFS iolock shared

                        ^^^ exclusive ^^^

> -> blocks
>
> - write i_size to something
> + releases iolock
> -> gets woken
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
---end quoted text---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:26 EST