Files
android_kernel_xiaomi_sm8450/fs/nfs
Peng Tao c8a3292d24 pnfs/filelayout: fix race between mark_request_commit and scan_commit_lists
We need to hold cinfo lock while setting bucket->wlseg and adding req to nwritten
list at the same time. Otherwise there might be a window where nwritten list
is empty yet we set bucket->wlseg, in which case ff_layout_scan_ds_commit_list()
may end up clearing bucket->wlseg incorrectly, casuing client to oops later on.

This was found when testing flexfile layout but filelayout has the same problem.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-07-12 18:22:41 -04:00
..
2013-06-08 16:20:18 -04:00
2014-07-08 14:30:03 -04:00
2014-04-18 14:20:48 +02:00
2014-06-24 18:47:00 -04:00
2014-06-24 18:47:00 -04:00
2013-11-15 13:41:43 -05:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2012-07-30 19:06:52 -04:00
2014-06-24 18:47:02 -04:00
2014-06-24 18:47:01 -04:00
2014-06-24 18:47:01 -04:00
2014-06-24 18:47:00 -04:00
2014-06-25 19:01:27 -04:00
2014-06-24 18:47:00 -04:00