Re: SQUASHME: missing from FIXME: async layout return

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Boaz

I've been chasing this bug. Where is the rest of the FIXME: async
layout return patch?
I can't find it.

Thanks

-->Andy

On Thu, May 13, 2010 at 4:40 AM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> I've tested the patch:
>        FIXME: async layout return
>
> And there is a missing small hunk
>
> I have tested with this patch and it is a very good patch
> that should also go into 2.6.33. It is necessary in the rare
> case when one inode have more then one open_context.
>
> (For some reason I see that happening much more in 2.6.34
>  I don't understand why)
>
> Boaz
> ---
> git diff --stat -p -M
>  fs/nfs/nfs4state.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
> index 15c8bc8..6dbe893 100644
> --- a/fs/nfs/nfs4state.c
> +++ b/fs/nfs/nfs4state.c
> @@ -590,7 +590,7 @@ static void __nfs4_close(struct path *path, struct nfs4_state *state, fmode_t fm
>                struct nfs_inode *nfsi = NFS_I(state->inode);
>
>                if (nfsi->layoutcommit_ctx)
> -                       pnfs_layoutcommit_inode(state->inode, 0);
> +                       pnfs_layoutcommit_inode(state->inode, wait);
>                if (has_layout(nfsi) && nfsi->layout.roc_iomode) {
>                        struct nfs4_pnfs_layout_segment range;
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux