hamcloud.com/27292
Reviewed-by: John L. Hammond <john.hamm...@intel.com>
Reviewed-by: Sebastien Buisson <sbuis...@ddn.com>
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
drivers/staging/lus
Buisson
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/llite/file.c | 58 ++
.../staging/lustre/lustre/llite/llite_internal.h | 4 ++
drivers/staging/lustre/lustre/llite/namei.c| 6 +++
3 files changed, 68
ug-id: https://jira.hpdd.intel.com/browse/LU-7244
Reviewed-on: http://review.whamcloud.com/16707
Reviewed-by: John L. Hammond <john.hamm...@intel.com>
Reviewed-by: James Simmons <uja.o...@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>
Signed-off-by: James Simmons <jsimm...@in
://review.whamcloud.com/16707
Reviewed-by: John L. Hammond
Reviewed-by: James Simmons
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/llite/xattr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/lustre/lustre/llite/xattr.c
b/drivers/staging
The function libcfs_ioctl_getdata() test to see if libcfs_ioctl_hdr
is smaller than struct libcfs_ioctl_data in size. This is wrong
and it breaks the ioctl that is used to collect LNet stats. The
correct size to compare against is struct libcfs_ioctl_hdr.
Signed-off-by: James Simmons <uj
During the reorganization of ptlrpc_request some of the
time64_t fields were incorrectly turned into time_t.
Restore those fields back to time_64_t.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24977
Intel-bug-id: https://jira.hpdd.intel.com/
of when size is zero
the xattr should be set to empty EA.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183
Reviewed-on: https://review.whamcloud.com/27240
Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com>
Reviewed-by: Bob Glossma
The function libcfs_ioctl_getdata() test to see if libcfs_ioctl_hdr
is smaller than struct libcfs_ioctl_data in size. This is wrong
and it breaks the ioctl that is used to collect LNet stats. The
correct size to compare against is struct libcfs_ioctl_hdr.
Signed-off-by: James Simmons
Intel-bug
During the reorganization of ptlrpc_request some of the
time64_t fields were incorrectly turned into time_t.
Restore those fields back to time_64_t.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/24977
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4423
Fixes
of when size is zero
the xattr should be set to empty EA.
Signed-off-by: James Simmons
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183
Reviewed-on: https://review.whamcloud.com/27240
Reviewed-by: Dmitry Eremin
Reviewed-by: Bob Glossman
Reviewed-by: Sebastien Buisson
Reviewed-by: Oleg Drokin
t;
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8680
Reviewed-on: http://review.whamcloud.com/23326
Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com>
Reviewed-by: Niu Yawei <yawei@intel.com>
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>
Signed-off-by: James S
-8680
Reviewed-on: http://review.whamcloud.com/23326
Reviewed-by: Jinshan Xiong
Reviewed-by: Niu Yawei
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/osc/osc_cache.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git
> On Sat, 2017-07-15 at 11:39 -0400, James Simmons wrote:
> > Cleanup all braces that was reported by checkpatch. The only
> > issue not fixed up is in mdc_lock.c. Removing the braces in
> > the case of mdc_lock.c will break the build.
>
> what checkp
> On Sat, 2017-07-15 at 11:39 -0400, James Simmons wrote:
> > Cleanup all braces that was reported by checkpatch. The only
> > issue not fixed up is in mdc_lock.c. Removing the braces in
> > the case of mdc_lock.c will break the build.
>
> what checkp
Cleanup all braces that was reported by checkpatch. The only
issue not fixed up is in mdc_lock.c. Removing the braces in
the case of mdc_lock.c will break the build.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
Cleanup all braces that was reported by checkpatch. The only
issue not fixed up is in mdc_lock.c. Removing the braces in
the case of mdc_lock.c will break the build.
Signed-off-by: James Simmons
--
v1) Initial patch
v2) Rebased
x now, returning
-EFAULT as expected.
Cc: sta...@vger.kernel.org
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c| 19 +++
1 file changed, 15 insertions(+)
ng
-EFAULT as expected.
Cc: sta...@vger.kernel.org
Signed-off-by: Arnd Bergmann
Signed-off-by: James Simmons
---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c| 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2ibl
On Fri, 14 Jul 2017, Al Viro wrote:
> On Thu, Jul 13, 2017 at 10:57:59PM +0200, Arnd Bergmann wrote:
>
> > Thanks for testing it!
> >
> > That means we did not copy any data and the kernel continues with
> > an uninitialized buffer, right? The problem may be the definition of
> >
> > struct
On Fri, 14 Jul 2017, Al Viro wrote:
> On Thu, Jul 13, 2017 at 10:57:59PM +0200, Arnd Bergmann wrote:
>
> > Thanks for testing it!
> >
> > That means we did not copy any data and the kernel continues with
> > an uninitialized buffer, right? The problem may be the definition of
> >
> > struct
> We now get a helpful warning for code that calls copy_{from,to}_iter
> without checking the return value, introduced by commit aa28de275a24
> ("iov_iter/hardening: move object size checks to inlined part").
>
> drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function
>
> We now get a helpful warning for code that calls copy_{from,to}_iter
> without checking the return value, introduced by commit aa28de275a24
> ("iov_iter/hardening: move object size checks to inlined part").
>
> drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function
>
> On Thu, 2017-06-15 at 17:57 +0100, James Simmons wrote:
> > > On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote:
> > > > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > > > > > Due to the way the DFID was embedded in our debu
> On Thu, 2017-06-15 at 17:57 +0100, James Simmons wrote:
> > > On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote:
> > > > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > > > > > Due to the way the DFID was embedded in our debu
> On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote:
> > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > > > Due to the way the DFID was embedded in our debug strings checkpatch
> > > > would report the following error:
> > >
>
> On Thu, 2017-06-15 at 17:03 +0100, James Simmons wrote:
> > > On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > > > Due to the way the DFID was embedded in our debug strings checkpatch
> > > > would report the following error:
> > >
>
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Cleanup all braces that was reported by checkpatch. The only
> > issue not fixed up is in mdc_lock.c. Removing the braces in
> > the case of mdc_lock.c will break the build.
>
> []
>
> > diff -
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Cleanup all braces that was reported by checkpatch. The only
> > issue not fixed up is in mdc_lock.c. Removing the braces in
> > the case of mdc_lock.c will break the build.
>
> []
>
> > diff -
> On Mon, Jun 12, 2017 at 08:20:15PM +, Dilger, Andreas wrote:
> > On Jan 21, 2017, at 02:24, Greg Kroah-Hartman <gre...@linuxfoundation.org>
> > wrote:
> > >
> > > On Fri, Jan 20, 2017 at 11:33:11PM +, James Simmons wrote:
> > >>
> On Mon, Jun 12, 2017 at 08:20:15PM +, Dilger, Andreas wrote:
> > On Jan 21, 2017, at 02:24, Greg Kroah-Hartman
> > wrote:
> > >
> > > On Fri, Jan 20, 2017 at 11:33:11PM +, James Simmons wrote:
> > >>
> > >>>>
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Cleanup many of the over 80 characters reported by checkpatch
>
> Please don't let checkpatch get in the way of lustre
> readability.
>
> lustre commonly uses very long identifiers.
> Long identifiers an
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Cleanup many of the over 80 characters reported by checkpatch
>
> Please don't let checkpatch get in the way of lustre
> readability.
>
> lustre commonly uses very long identifiers.
> Long identifiers an
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Due to the way the DFID was embedded in our debug strings checkpatch
> > would report the following error:
>
> unrelated trivia
>
> > diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre
> On Wed, 2017-06-14 at 11:01 -0400, James Simmons wrote:
> > Due to the way the DFID was embedded in our debug strings checkpatch
> > would report the following error:
>
> unrelated trivia
>
> > diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre
Due to the way the DFID was embedded in our debug strings checkpatch
would report the following error:
CHECK: Concatenated strings should use spaces between elements
This patch introduces proper space to resolve these reports.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
d
Due to the way the DFID was embedded in our debug strings checkpatch
would report the following error:
CHECK: Concatenated strings should use spaces between elements
This patch introduces proper space to resolve these reports.
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/fid
This patch series covers a good chunk of the checkpatch issues in the
current lustre client code.
James Simmons (6):
staging: lustre: lustre: resolve "use spaces between elements" checkpatch
errors
staging: lustre: lustre: make all struct file_operations constant
staging: lust
This patch series covers a good chunk of the checkpatch issues in the
current lustre client code.
James Simmons (6):
staging: lustre: lustre: resolve "use spaces between elements" checkpatch
errors
staging: lustre: lustre: make all struct file_operations constant
staging: lust
Checkpatch reported several cases of struct file_operations
not being const. This resolves those warnings.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
drivers/staging/lustre/lustre/fld/lproc_fld.c | 2 +-
drivers/staging/lustre/lustre/include/lprocfs_status.
Cleanup many of the over 80 characters reported by checkpatch
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
drivers/staging/lustre/lustre/include/cl_object.h | 2 +-
.../staging/lustre/lustre/include/lprocfs_status.h | 3 +-
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
Cleanup many of the over 80 characters reported by checkpatch
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/include/cl_object.h | 2 +-
.../staging/lustre/lustre/include/lprocfs_status.h | 3 +-
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 5 ++--
drivers/staging
Checkpatch reported several cases of struct file_operations
not being const. This resolves those warnings.
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/fld/lproc_fld.c | 2 +-
drivers/staging/lustre/lustre/include/lprocfs_status.h | 8
drivers/staging
Turn all bare unsigned usage in the lustre code to proper
unsigned int.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
drivers/staging/lustre/lustre/include/cl_object.h | 4 ++--
drivers/staging/lustre/lustre/include/lu_object.h | 4 ++--
drivers/staging/lustre/lustre/llite/n
Turn all bare unsigned usage in the lustre code to proper
unsigned int.
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/include/cl_object.h | 4 ++--
drivers/staging/lustre/lustre/include/lu_object.h | 4 ++--
drivers/staging/lustre/lustre/llite/namei.c | 2 +-
drivers
Cleanup all braces that was reported by checkpatch. The only
issue not fixed up is in mdc_lock.c. Removing the braces in
the case of mdc_lock.c will break the build.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
drivers/staging/lustre/lustre/fld/fld_cache.c | 3 ++-
drivers/s
Cleanup all braces that was reported by checkpatch. The only
issue not fixed up is in mdc_lock.c. Removing the braces in
the case of mdc_lock.c will break the build.
Signed-off-by: James Simmons
---
drivers/staging/lustre/lustre/fld/fld_cache.c | 3 ++-
drivers/staging/lustre/lustre/ldlm
Create identifier names missing from function prototypes as
reported by checkpatch.
Signed-off-by: James Simmons <jsimm...@infradead.org>
---
.../staging/lustre/lustre/include/lprocfs_status.h | 4 ++--
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 27 --
.../s
Create identifier names missing from function prototypes as
reported by checkpatch.
Signed-off-by: James Simmons
---
.../staging/lustre/lustre/include/lprocfs_status.h | 4 ++--
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 27 --
.../staging/lustre/lustre/llite
> Doubly linked lists which are iterated using list_empty
> and list_entry macros have been replaced with list_for_each_entry_safe
> macro.
> This makes the iteration simpler and more readable.
>
> This patch replaces the while loop containing list_empty and list_entry
> with
> Doubly linked lists which are iterated using list_empty
> and list_entry macros have been replaced with list_for_each_entry_safe
> macro.
> This makes the iteration simpler and more readable.
>
> This patch replaces the while loop containing list_empty and list_entry
> with
> The following Coccinelle script was used to detect this:
> @r@
> expression x;
> void* e;
> type T;
> identifier f;
> @@
> (
> *((T *)e)
> |
> ((T *)x)[...]
> |
> ((T*)x)->f
> |
> - (T*)
> e
> )
>
> Signed-off-by: simran si
> The following Coccinelle script was used to detect this:
> @r@
> expression x;
> void* e;
> type T;
> identifier f;
> @@
> (
> *((T *)e)
> |
> ((T *)x)[...]
> |
> ((T*)x)->f
> |
> - (T*)
> e
> )
>
> Signed-off-by: simran sin
> The following Coccinelle script was used to detect this:
> @r@
> expression x;
> void* e;
> type T;
> identifier f;
> @@
> (
> *((T *)e)
> |
> ((T *)x)[...]
> |
> ((T*)x)->f
> |
> - (T*)
> e
> )
>
> Signed-off-by: simran si
> The following Coccinelle script was used to detect this:
> @r@
> expression x;
> void* e;
> type T;
> identifier f;
> @@
> (
> *((T *)e)
> |
> ((T *)x)[...]
> |
> ((T*)x)->f
> |
> - (T*)
> e
> )
>
> Signed-off-by:
Change lnet_event_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_event_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
The LNET_MATCH* flags are an enum without a name.
Lets label that enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed
The LNET_MATCH* flags are an enum without a name.
Lets label that enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
Change lnet_event_kind_t from typedef to proper enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_event_kind_t from typedef to proper enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_ins_pos_t from typedef to proper enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_ins_pos_t from typedef to proper enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_md_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_md_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_portal_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_portal_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_handle_eq_t from a typedef of another typedef into
a proper stand alone structure. Create the inline functions
LNetInvalidateEQHandle and LNetEQHandleIsInvalid to handle this
new piece of data.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamclo
Change lnet_handle_eq_t from a typedef of another typedef into
a proper stand alone structure. Create the inline functions
LNetInvalidateEQHandle and LNetEQHandleIsInvalid to handle this
new piece of data.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed
Change lnet_rc_data_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_rc_data_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
Change lnet_handle_me_t from a typedef of another typedef into
a proper stand alone structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@inte
Change lnet_handle_md_t from a typedef of another typedef into
a proper stand alone structure. Create the inline functions
LNetInvalidateMDHandle and LNetMDHandleIsInvalid to handle this
new piece of data.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamclo
Change lnet_handle_me_t from a typedef of another typedef into
a proper stand alone structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off
Change lnet_handle_md_t from a typedef of another typedef into
a proper stand alone structure. Create the inline functions
LNetInvalidateMDHandle and LNetMDHandleIsInvalid to handle this
new piece of data.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed
Kill off lnet_kiov_t and use struct bio_vec directly.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
---
drivers/staging/lustre/include/linux/lnet/lib-lnet.h| 8
drivers/staging/lustre/include/linux/lnet/lib-types.h | 6 +++---
drivers/staging/lustre/include/linu
The lnet_seq_t is a simple unsigned long so lets
simplify it.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
The typedef lnet_md_iovec_t is never used so kill it
off.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Kill off lnet_kiov_t and use struct bio_vec directly.
Signed-off-by: James Simmons
---
drivers/staging/lustre/include/linux/lnet/lib-lnet.h| 8
drivers/staging/lustre/include/linux/lnet/lib-types.h | 6 +++---
drivers/staging/lustre/include/linux/lnet/types.h | 7
The lnet_seq_t is a simple unsigned long so lets
simplify it.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
The typedef lnet_md_iovec_t is never used so kill it
off.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
Change lnet_ack_req_t from typedef to proper enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_ack_req_t from typedef to proper enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_unlink_t from typedef to proper enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_unlink_t from typedef to proper enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_msg_type_t from typedef to proper enum.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_msg_type_t from typedef to proper enum.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_process_id_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_process_id_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
Change lnet_counter_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_counter_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
Change lnet_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_rtrbuf_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_rtrbuf_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging/lustre
Change lnet_rtrbufpool_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_rtrbufpool_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
drivers/staging
Change lnet_remotenet_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry
Change lnet_remotenet_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
.../staging/lustre
Change lnet_route_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.o...@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <o...@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com>
Reviewed-by: Dmitry Eremin <dm
Change lnet_route_t from typedef to proper structure.
Signed-off-by: James Simmons
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber
Reviewed-by: Doug Oucharek
Reviewed-by: Dmitry Eremin
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
---
.../staging/lustre
701 - 800 of 4090 matches
Mail list logo