All of lore.kernel.org
 help / color / mirror / Atom feed
* Updated sparse warning message patches
@ 2013-02-22 17:18 Alex Elder
  2013-02-22 17:21 ` [PATCH, v2] rbd: eliminate sparse warnings Alex Elder
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Alex Elder @ 2013-02-22 17:18 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org >> ceph-devel

I'm re-posting these patches because I've updated them to be
based on the patches I just posted ("Four miscellaneous patches").

These patches are available in the branch "test/wip-4184" in
the ceph-client git repository.  That branch is based on
branch "test/wip-4234,5,7,8".

(Here's the original description)

What follows is a few series of patches that get rid of code
issues that lead to warnings from the sparse utility.

The first three patches address the warnings in the rbd, ceph
file system, and libceph code respectively.  After that, one
warning remains in libceph, and that is addressed by a series
of five patches which both address the underlying problem and
reorganized and clean up the surrounding code.  The last two
are meant to be combined into one before commit; they've been
posted as two separate patches to make them easier to review.

					-Alex

[PATCH, v2] rbd: eliminate sparse warnings
[PATCH, v2] ceph: eliminate sparse warnings in fs code
[PATCH, v2] libceph: eliminate sparse warnings
[PATCH 1/5, v2] libceph: encapsulate connection backoff
[PATCH 2/5, v2] libceph: separate non-locked fault handling
[PATCH 3/5, v2] libceph: use a flag to indicate a fault has occurred
[PATCH 4/5, v2] libceph: use a do..while loop in con_work()
[PATCH 5/5, v2] libceph: indent properly

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/5] libceph clean up con_work()
@ 2013-02-20  0:51 Alex Elder
  2013-02-20  0:55 ` [PATCH 2/5] libceph: separate non-locked fault handling Alex Elder
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Elder @ 2013-02-20  0:51 UTC (permalink / raw)
  To: ceph-devel

This series cleans up con_work() a bit.  The original motivation
was to get rid of a warning issued by the sparse utility, but
addressing that required a little rework and it was fairly
straightforward once that was done to make that function
fairly simple.

The problem sparse reported was really due to sparse not
being able to follow the logic between multiple functions
that together implement locking.  The result of these
changes makes both acquiring and releasing the connection
mutex occur in con_work().

					-Alex

[PATCH 1/5] libceph: encapsulate connection backoff
[PATCH 2/5] libceph: separate non-locked fault handling
[PATCH 3/5] libceph: use a flag to indicate a fault has occurred
[PATCH 4/5] libceph: use a do..while loop in con_work()
[PATCH 5/5] libceph: indent properly

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-02-25 19:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 17:18 Updated sparse warning message patches Alex Elder
2013-02-22 17:21 ` [PATCH, v2] rbd: eliminate sparse warnings Alex Elder
2013-02-22 17:21 ` [PATCH, v2] ceph: eliminate sparse warnings in fs code Alex Elder
2013-02-22 17:21 ` [PATCH, v2] libceph: eliminate sparse warnings Alex Elder
2013-02-22 17:21 ` [PATCH 0/5, v2] libceph clean up con_work() Alex Elder
2013-02-22 17:23   ` [PATCH 1/5] libceph: encapsulate connection backoff Alex Elder
2013-02-22 17:23   ` [PATCH 2/5] libceph: separate non-locked fault handling Alex Elder
2013-02-22 17:26   ` Alex Elder
2013-02-22 17:32     ` Alex Elder
2013-02-22 17:26   ` [PATCH 3/5, v2] libceph: use a flag to indicate a fault has occurred Alex Elder
2013-02-22 17:30   ` [PATCH 4/5, v2] libceph: use a do..while loop in con_work() Alex Elder
2013-02-22 17:30   ` [PATCH 5/5, v2] libceph: indent properly Alex Elder
2013-02-25 19:15 ` Updated sparse warning message patches Josh Durgin
  -- strict thread matches above, loose matches on Subject: below --
2013-02-20  0:51 [PATCH 0/5] libceph clean up con_work() Alex Elder
2013-02-20  0:55 ` [PATCH 2/5] libceph: separate non-locked fault handling Alex Elder

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.