Re: RFC: fixing kernel oops on interrupted COMMIT from nfs_commit_file

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

 



On Thu, 2017-04-13 at 14:00 -0400, Olga Kornievskaia wrote:
> Hi folks,
> 
> Looking for suggestions on how to fix a kernel oops.
> 
> It's possible that there is a ctrl-c when the COMMIT is send. In case
> of the COPY, it calls
> nfs_commit_file() which calls wait_on_commit() that is interrupted by
> the crtl-c and frees the nfs_page request. So when asynchronous
> COMMIT
> rpc comes back it tried to use the nfs_page request and gets the
> oops.
> 

Is that call to nfs_free_request() in nfs_commit_file() correct? It
looks to me as if the same request will be freed in
nfs_commit_release_pages().

Anna?

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@xxxxxxxxxxxxxxx
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[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