Re: [PATCH] staging: lustre: obd_support: Add obd_cpt_alloc function

2015-05-02 Thread Julia Lawall
On Sat, 2 May 2015, Drokin, Oleg wrote: > > On May 2, 2015, at 5:16 PM, Julia Lawall wrote: > > > Summarize OBD_CPT_ALLOC_GFP, OBD_CPT_ALLOC, and OBD_CPT_ALLOC_PTR as a > > function, obd_cpt_alloc. > > > > Signed-off-by: Julia Lawall > > > > --- > > > > Some questions: Is the name OK? Is th

[PATCH] staging/lustre: Always try kmalloc first for OBD_ALLOC_LARGE

2015-05-02 Thread green
From: Oleg Drokin Create libcfs_kvzalloc and libcfs_kvzalloc_cpt are are designed to replace OBD_ALLOC_LARGE and OBD_CPT_ALLOC_LARGE. Not a drop-in replacement as they also take gfp flags armument for more flexibility. Signed-off-by: Oleg Drokin --- This is how I envision the OBD_ALLOC_LARGE r

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread Drokin, Oleg
Hello! On May 2, 2015, at 4:14 AM, Dan Carpenter wrote: > On Fri, May 01, 2015 at 09:13:11PM +, Drokin, Oleg wrote: The patch was submitted. But it depends on a symbol that's not exported. I was not able to change that. http://www.spinics.net/lists/linux-mm/msg83997.html >

[PATCH 1/3] staging/lustre: Generic helpers for sysfs

2015-05-02 Thread green
From: Oleg Drokin Add generic helpers to allow displaying oof lustre-specific values in /sys/fs/lustre Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lprocfs_status.h | 26 ++ .../lustre/lustre/obdclass/lprocfs_status.c| 24 2

[PATCH 3/3] staging/lustre/llite: move some procfs files to sysfs

2015-05-02 Thread green
From: Oleg Drokin Move just first few files from /proc/fs/lustre/llite/*/ to /sys/fs/lustre/llite/*/: blocksizefilesfree fstype kbytesfree max_read_ahead_mb client_type filestotal kbytesavail kbytestotal uuid More to follow. Signed-off-by: Oleg Drokin --- .../staging/lustre/

[PATCH 2/3] staging/lustre: Move /proc/fs/lustre root level files to sysfs

2015-05-02 Thread green
From: Oleg Drokin except devices, for now. Signed-off-by: Oleg Drokin --- .../lustre/lustre/obdclass/linux/linux-module.c| 116 + 1 file changed, 72 insertions(+), 44 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c b/drivers/stagi

[RFC PATCH 0/3] Moving lustre procfs stuff to sysfs & questions.

2015-05-02 Thread green
From: Oleg Drokin Greg, I wonder if you can take at least a brief look and tell me if this is the direction you were envisioning wrt this particular cleanup. It's not all-inclusive, but I have a long flight tomorrow so if the direction is right, I can convert more of this stuff. This does not t

RE: [PATCH v2 3/3] Drivers: hv: vmbus: setup irq after synic is initialized

2015-05-02 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, April 21, 2015 9:22 AM > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui; Dan Carpenter > Subject: [PATCH v2 3/3] Drivers: hv: vmbus

Re: [PATCH] staging: lustre: obd_support: Add obd_cpt_alloc function

2015-05-02 Thread Dan Carpenter
On Sat, May 02, 2015 at 11:16:48PM +0200, Julia Lawall wrote: > Some questions: Is the name OK? Is the NULL test needed? If not, should > the call to kzalloc_node with the call to cfs_cpt_spread_node just be > inlined into the call sites? > > drivers/staging/lustre/lustre/include/obd_support.h

Re: [PATCH] staging: lustre: obd_support: Add obd_cpt_alloc function

2015-05-02 Thread Drokin, Oleg
On May 2, 2015, at 5:16 PM, Julia Lawall wrote: > Summarize OBD_CPT_ALLOC_GFP, OBD_CPT_ALLOC, and OBD_CPT_ALLOC_PTR as a > function, obd_cpt_alloc. > > Signed-off-by: Julia Lawall > > --- > > Some questions: Is the name OK? Is the NULL test needed? If not, should > the call to kzalloc_node

[PATCH] staging: lustre: obd_support: Add obd_cpt_alloc function

2015-05-02 Thread Julia Lawall
Summarize OBD_CPT_ALLOC_GFP, OBD_CPT_ALLOC, and OBD_CPT_ALLOC_PTR as a function, obd_cpt_alloc. Signed-off-by: Julia Lawall --- Some questions: Is the name OK? Is the NULL test needed? If not, should the call to kzalloc_node with the call to cfs_cpt_spread_node just be inlined into the call s

Re: [PATCH 1/20] staging: lustre: ldlm: ldlm_lib: remove unneeded null test before free

2015-05-02 Thread Dan Carpenter
Somehow git is threading them in the reverse order. The last thread as well. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: iio: ad7606_par: Constify platform_device_id

2015-05-02 Thread Lars-Peter Clausen
On 05/01/2015 05:43 PM, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski Acked-by: Lars-Peter Clausen Thanks. --- drivers/staging/iio/adc/ad7606_par.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread Greg Kroah-Hartman
On Sat, May 02, 2015 at 05:17:14PM +, Drokin, Oleg wrote: > >> Now I like to see the current situation change and Greg you have know > >> me for a while so you can expect a lot of changes are coming. In fact > >> I already have rallied people from vendors outside Intel as well as > >> universi

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread Drokin, Oleg
Hello! On May 2, 2015, at 4:26 AM, Greg Kroah-Hartman wrote: > On Sat, May 02, 2015 at 01:18:48AM +, Simmons, James A. wrote: >> Second and far more importantly the upstream lustre code >> currently does not have the same level of QA with what the Intel >> branch gets. The bar is very v

[PATCH] staging: comedi: daqboard2000: Use preferred comment style

2015-05-02 Thread Arno Tiemersma
Use the preferred block comment style for the copyright and driver description header comments. Signed-off-by: Arno Tiemersma --- drivers/staging/comedi/drivers/daqboard2000.c | 196 +- 1 file changed, 99 insertions(+), 97 deletions(-) diff --git a/drivers/staging/comedi

TNB BONUS

2015-05-02 Thread t...@careline.com.my
Tenaga Nasional Berhad (TNB HQ) 129 Jalan Bangsar, 59200 Kuala Lumpur, Kuala Lumpur, Malaysia Ini adalah satu pemberitahuan rasmi daripada ibu pejabat daripada Tenaga Nasional Berhad sempena Persatuan Air Malaysia (PAM) untuk memaklumkan anda mengenai Hadiah Khas Eksklusif Tenaga Nasional Berh

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread Julia Lawall
On Sat, 2 May 2015, Dan Carpenter wrote: > On Fri, May 01, 2015 at 09:13:11PM +, Drokin, Oleg wrote: > > >> The patch was submitted. > > >> But it depends on a symbol that's not exported. > > >> I was not able to change that. > > >> http://www.spinics.net/lists/linux-mm/msg83997.html > > >

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread 'Greg Kroah-Hartman'
On Sat, May 02, 2015 at 01:18:48AM +, Simmons, James A. wrote: > Second and far more importantly the upstream lustre code > currently does not have the same level of QA with what the Intel > branch gets. The bar is very very high to get any patch merged for > the Intel branch. Each patch

Re: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-02 Thread Dan Carpenter
On Fri, May 01, 2015 at 09:13:11PM +, Drokin, Oleg wrote: > >> The patch was submitted. > >> But it depends on a symbol that's not exported. > >> I was not able to change that. > >> http://www.spinics.net/lists/linux-mm/msg83997.html > > > > But you were given a hint on how to change that :) >