All of lore.kernel.org
 help / color / mirror / Atom feed
From: Degremont, Aurelien <degremoa@amazon.com>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] [PATCH 10/11] lustre: ldlm: checkpatch cleanup
Date: Thu, 25 Jul 2019 08:07:59 +0000	[thread overview]
Message-ID: <ACCFCCDF-B63A-40A9-8992-A8959FD94079@amazon.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1907250246001.19895@casper.infradead.org>



?Le 25/07/2019 03:54, ? James Simmons ? <jsimmons@infradead.org> a ?crit :

    
    > Le 24/07/2019 05:38, ? lustre-devel au nom de James Simmons ? <lustre-devel-bounces at lists.lustre.org au nom de jsimmons@infradead.org> a ?crit :
    >     
    >     From checkpatch - "ENOSYS means 'invalid syscall nr' and nothing else"
    >     So using ENOSYS is no no. We get away with this because people rarely
    >     actually handle each error code individually.
    > .
    >     
    > As a general comment about this, I think we should improve this in the futur. Some people asked me "what's the error code when this or that happens in Lustre?". And I've got no real answer for that.
    > Indeed people, most of the time, only checks returned code against 0. That does not help when looking at specific Lustre issues.
    
    perf probe 'lustre_function%return $retval'
    
    Does the same thing as lctl set_param debug=+trace except dynamic probes 
    can work on any kernel function without code modification!!!
    
I mean from userspace.
When some applications want to adapt its behaviour depending on what is happening in Lustre. 

  reply	other threads:[~2019-07-25  8:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22  1:52 [lustre-devel] [PATCH 00/11] lustre: cleanup most check patch issues James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 01/11] lustre: ptlrpc: checkpatch cleanup James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 02/11] lustre: llite: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 03/11] lustre: fid: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 04/11] lustre: mgc: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 05/11] lustre: lmv: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 06/11] lustre: mdc: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 07/11] lustre: osc: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 08/11] lustre: lov: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 09/11] lustre: obdclass: " James Simmons
2019-07-22  1:52 ` [lustre-devel] [PATCH 10/11] lustre: ldlm: " James Simmons
2019-07-23  2:54   ` NeilBrown
2019-07-24  3:37     ` James Simmons
2019-07-24  7:23       ` Degremont, Aurelien
2019-07-25  1:54         ` James Simmons
2019-07-25  8:07           ` Degremont, Aurelien [this message]
2019-07-29 19:40             ` James Simmons
2019-07-30 16:02               ` Degremont, Aurelien
2019-07-22  1:52 ` [lustre-devel] [PATCH 11/11] lustre: internal headers " James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ACCFCCDF-B63A-40A9-8992-A8959FD94079@amazon.com \
    --to=degremoa@amazon.com \
    --cc=lustre-devel@lists.lustre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.