Home
last modified time | relevance | path

Searched hist:"0 bcbf039f6b2bcefe4f5dada76079080edf9ecd0" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dread.cdiff 0bcbf039f6b2bcefe4f5dada76079080edf9ecd0 Sat Dec 05 01:57:31 CST 2015 Peng Tao <tao.peng@primarydata.com> nfs: handle request add failure properly

When we fail to queue a read page to IO descriptor,
we need to clean it up otherwise it is hanging around
preventing nfs module from being removed.

When we fail to queue a write page to IO descriptor,
we need to clean it up and also save the failure status
to open context. Then at file close, we can try to write
pages back again and drop the page if it fails to writeback
in .launder_page, which will be done in the next patch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
H A Dpnfs.cdiff 0bcbf039f6b2bcefe4f5dada76079080edf9ecd0 Sat Dec 05 01:57:31 CST 2015 Peng Tao <tao.peng@primarydata.com> nfs: handle request add failure properly

When we fail to queue a read page to IO descriptor,
we need to clean it up otherwise it is hanging around
preventing nfs module from being removed.

When we fail to queue a write page to IO descriptor,
we need to clean it up and also save the failure status
to open context. Then at file close, we can try to write
pages back again and drop the page if it fails to writeback
in .launder_page, which will be done in the next patch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
H A Dinternal.hdiff 0bcbf039f6b2bcefe4f5dada76079080edf9ecd0 Sat Dec 05 01:57:31 CST 2015 Peng Tao <tao.peng@primarydata.com> nfs: handle request add failure properly

When we fail to queue a read page to IO descriptor,
we need to clean it up otherwise it is hanging around
preventing nfs module from being removed.

When we fail to queue a write page to IO descriptor,
we need to clean it up and also save the failure status
to open context. Then at file close, we can try to write
pages back again and drop the page if it fails to writeback
in .launder_page, which will be done in the next patch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
H A Dinode.cdiff 0bcbf039f6b2bcefe4f5dada76079080edf9ecd0 Sat Dec 05 01:57:31 CST 2015 Peng Tao <tao.peng@primarydata.com> nfs: handle request add failure properly

When we fail to queue a read page to IO descriptor,
we need to clean it up otherwise it is hanging around
preventing nfs module from being removed.

When we fail to queue a write page to IO descriptor,
we need to clean it up and also save the failure status
to open context. Then at file close, we can try to write
pages back again and drop the page if it fails to writeback
in .launder_page, which will be done in the next patch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
H A Dwrite.cdiff 0bcbf039f6b2bcefe4f5dada76079080edf9ecd0 Sat Dec 05 01:57:31 CST 2015 Peng Tao <tao.peng@primarydata.com> nfs: handle request add failure properly

When we fail to queue a read page to IO descriptor,
we need to clean it up otherwise it is hanging around
preventing nfs module from being removed.

When we fail to queue a write page to IO descriptor,
we need to clean it up and also save the failure status
to open context. Then at file close, we can try to write
pages back again and drop the page if it fails to writeback
in .launder_page, which will be done in the next patch.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>