[PATCH 09/14] staging/lustre/ptlrpc: Suppress error for flock requests

2016-11-02 Thread Oleg Drokin
From: Patrick Farrell -EAGAIN is a normal return when requesting POSIX flocks. We can't recognize exactly that case here, but it's the only case that should result in -EAGAIN on LDLM_ENQUEUE, so don't print to console in that case. Signed-off-by: Patrick Farrell

[PATCH 13/14] staging/lustre/llite: do not clear uptodate bit in page delete

2016-11-02 Thread Oleg Drokin
From: Jinshan Xiong Otherwise, if the race between page fault and truncate occurs, it will cause the page fault routine to return an EIO error. In filemap_fault() { page_not_uptodate: ... ClearPageError(page); error =

[PATCH 14/14] staging/lustre: Get rid of LIBLUSTRE_CLIENT and its users

2016-11-02 Thread Oleg Drokin
This define only made sense in a userspace library client, not in the kernel. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_lib.h | 2 -- drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 15 +-- 2 files changed, 1

[PATCH 11/14] staging/lustre/ptlrpc: Correctly calculate hrp->hrp_nthrs

2016-11-02 Thread Oleg Drokin
From: Amir Shehata cpu_pattern can specify exactly 1 cpu in a partition: "0[0]". That means CPT0 will have CPU 0. CPU 0 can have hyperthreading enabled. This combination would result in weight = cfs_cpu_ht_nsiblings(0); hrp->hrp_nthrs =

[PATCH 12/14] staging/lustre/llite: update ras window correctly

2016-11-02 Thread Oleg Drokin
From: Bobi Jam When stride-RA hit case miss, we only reset normal sequential read-ahead window, but not reset the stride IO to avoid the overhead of re-detecting stride IO. While when the normal RA window is set to not insect with the stride-RA window, when we try to

[PATCH 10/14] staging/lustre/llite: protect from accessing NULL lli_clob

2016-11-02 Thread Oleg Drokin
From: Bobi Jam Need to check file's lli_clob object before calling lov_read_and_clear_async_rc(). Signed-off-by: Bobi Jam Reviewed-by: Jinshan Xiong Reviewed-by: Oleg Drokin Reviewed-on:

[PATCH 08/14] staging/lustre/ldlm: engage ELC for all ldlm enqueue req

2016-11-02 Thread Oleg Drokin
From: Hongchao Zhang If there is no request passed into ldlm_cli_enqueue, the enqueue request will not engage ELC to drop unneeded locks. currently, this kind of request is mainly related to EXTENT locks enqueue requests (except for glimpse EXTENT lock for it has an

[PATCH 07/14] staging/lustre/ldlm: Reinstate ldlm_enqueue_pack()

2016-11-02 Thread Oleg Drokin
The function becomes used again with the next patch, so bring it back from dead, only this time make it static. Reverts: bf2a033360f7 ("staging/lustre/ldlm: Remove unused ldlm_enqueue_pack()") Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_request.c

[PATCH 05/14] staging/lustre: Get rid of cl_env hash table

2016-11-02 Thread Oleg Drokin
From: Jinshan Xiong cl_env hash table is under heavy contention when there are lots of processes doing IO at the same time; reduce lock contention by replacing cl_env cache with percpu array; remove cl_env_nested_get() and cl_env_nested_put(); remove cl_env_reenter() and

[PATCH 06/14] staging/lustre/llite: drop_caches hangs in cl_inode_fini()

2016-11-02 Thread Oleg Drokin
From: Andrew Perepechko This patch releases cl_pages on error in ll_write_begin() to avoid memory and object reference leaks. Also, it reuses per-cpu lu_env in ll_invalidatepage() in the same way as done in ll_releasepage(). Signed-off-by: Andrew Perepechko

[PATCH 03/14] staging/lustre: conflicting PW & PR extent locks on a client

2016-11-02 Thread Oleg Drokin
From: Andriy Skulysh PW lock isn't replayed once a lock is marked LDLM_FL_CANCELING and glimpse lock doesn't wait for conflicting locks on the client. So the server will grant a PR lock in response to the glimpse lock request, which conflicts with the PW lock in

[PATCH 02/14] staging/lustre/ldlm: fix export reference problem

2016-11-02 Thread Oleg Drokin
From: Hongchao Zhang 1, in client_import_del_conn, the export returned from class_conn2export is not released after using it. 2, in ptlrpc_connect_interpret, the export is not released if the connect_flags isn't compatible. Signed-off-by: Hongchao Zhang

[PATCH 04/14] staging/lustre/llite: clear inode timestamps after losing UPDATE lock

2016-11-02 Thread Oleg Drokin
From: Niu Yawei Otherwise, those leftovers would interfere with new timestamps especially when the timestamps are set back in time on the other clients. Signed-off-by: Jinshan Xiong Signed-off-by: Niu Yawei Reviewed-on:

[PATCH 01/14] staging/lustre/ldlm: Drop unused blocking_refs flock field

2016-11-02 Thread Oleg Drokin
blocking_refs is only used on the server, so drop it on the client. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre_dlm.h

[PATCH 00/14] Lustre fixes

2016-11-02 Thread Oleg Drokin
This batch of patches represents mostly recent fixes, also a couple of cleanups and a couple of changes that fixes depend on. Amir Shehata (1): staging/lustre/ptlrpc: Correctly calculate hrp->hrp_nthrs Andrew Perepechko (1): staging/lustre/llite: drop_caches hangs in cl_inode_fini() Andriy

Re: [lustre-devel] [PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES

2016-11-02 Thread Dilger, Andreas
On Oct 25, 2016, at 10:47, Aya Mahfouz wrote: > > On Mon, Oct 17, 2016 at 10:38:31PM +, Dilger, Andreas wrote: >> On Oct 17, 2016, at 15:46, Aya Mahfouz >> wrote: >>> >>> class_devno_max is an inline function that returns >>>

[PATCH 5/5] staging: wlan-ng: remove unnecessary blank line

2016-11-02 Thread Sergio Paracuellos
Blank lines aren't necessary after an open brace '{'. Clean them in p80211req.c source file to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 0/5] staging: wlan-ng: Fix several style issues.

2016-11-02 Thread Sergio Paracuellos
This patch series fix some style issues in several source and header files. Sergio Paracuellos (5): staging: wlan-ng: add spaces around or operator : HOSTWEP_DEFAULTKEY_MASK staging: wlan-ng: remove two unnecessary blank lines staging: wlan-ng: change comparison to NULL to preferred

[PATCH 2/5] staging: wlan-ng: remove two unnecessary blank lines

2016-11-02 Thread Sergio Paracuellos
After open brace or before close brace blank lines are not really necessary. Remove them. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c

[PATCH 4/5] staging: wlan-ng: remove unnecessary parentheses

2016-11-02 Thread Sergio Paracuellos
Avoid no necessary parentheses to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211req.c

[PATCH 3/5] staging: wlan-ng: change comparison to NULL to preferred style.

2016-11-02 Thread Sergio Paracuellos
Comparison to NULL could be written in preferred form. Change it to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/5] staging: wlan-ng: add spaces around or operator : HOSTWEP_DEFAULTKEY_MASK

2016-11-02 Thread Sergio Paracuellos
Add spaces around or operator to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.h

[PATCH v2] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-02 Thread James Simmons
From: Gregoire Pichon This patch is the main client part of a new feature that supports multiple modify metadata RPCs in parallel. Its goal is to improve metadata operations performance of a single client, while maintening the consistency of MDT reply reconstruction and

Re: Greybus Future

2016-11-02 Thread Karim Yaghmour
On 11/02/2016 11:24 AM, Alex Elder wrote: Yes. I just created a test repository there. If you find you have trouble let me know and I'll create one for you. Do we actually want do that though? I mean, who owns that? This returns 404: https://github.com/greybus Do you want to grab that?

Re: Greybus Future

2016-11-02 Thread Alex Elder
On 11/02/2016 11:29 AM, Alexandre Bailon wrote: > On 10/31/2016 02:50 PM, Alex Elder wrote: >> Git repositories. Public git repositories related to Project Ara >> are all hosted here: >> https://github.com/projectara >> At this time I see no reason to move away from this, but it would >> not

Re: Greybus Future

2016-11-02 Thread Alexandre Bailon
On 10/31/2016 02:50 PM, Alex Elder wrote: > Git repositories. Public git repositories related to Project Ara > are all hosted here: > https://github.com/projectara > At this time I see no reason to move away from this, but it would > not surprise me if we decided to host the code and

RE: [PATCH 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects

2016-11-02 Thread Ruxandra Ioana Radulescu
> -Original Message- > From: Stuart Yoder [mailto:stuart.yo...@nxp.com] > Sent: Friday, October 21, 2016 5:02 PM > To: gre...@linuxfoundation.org > Cc: German Rivera ; de...@driverdev.osuosl.org; > linux-ker...@vger.kernel.org; ag...@suse.de; a...@arndb.de; Leo Li >