public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] xfs: error sign fixes for 3.15-rc6
@ 2014-05-13  8:56 Dave Chinner
  2014-05-13  8:56 ` [PATCH 1/9] xfs: xfs_dir_fsync() returns positive errno Dave Chinner
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Dave Chinner @ 2014-05-13  8:56 UTC (permalink / raw)
  To: xfs

Hi folks,

I've been working through the mess that is the
error sign impedance mismatch between the core XFS code and the rest
of the kernel. I'm about half way through the codebase, and I've
found a bunch of incorrect error signs throughout the VFS interface
layers.

These were effectively all found by inspection, and is
further evidence that we need to convert all of XFS to negative
errors as quickly as possible. It is clear that we are missing these
on review, and changes made by developers adding functionality to
the VFS and hence just touching the outer layers of XFS are
simply not aware of these issues in the first place.

This patchset is based on v3.15-rc5 because some of the problems that
need to be fixed have merged into mainline via the ext4 tree
(COLLAPSE_RANGE changes). Hence I'll need to update the master
branch of the XFS tree to v3.15-rc5 before I merge these and push
them to Linus. I'm considering them as important fixes as things
like xfs_dir_fsync() and xfs_commit_metadata() returning incorrect
errnos mean data integrity operation failures may not be detected
correctly by applications.....

Comments, thoughts, testing all welcome!

Cheers,

Dave.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2014-05-14 21:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13  8:56 [PATCH 0/9] xfs: error sign fixes for 3.15-rc6 Dave Chinner
2014-05-13  8:56 ` [PATCH 1/9] xfs: xfs_dir_fsync() returns positive errno Dave Chinner
2014-05-13 12:46   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 2/9] xfs: fix incorrect error sign in xfs_file_aio_read Dave Chinner
2014-05-13 12:46   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 3/9] xfs: xfs_commit_metadata returns wrong errno Dave Chinner
2014-05-13 12:48   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 4/9] xfs: correct error sign on COLLAPSE_RANGE errors Dave Chinner
2014-05-13 12:49   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 5/9] xfs: fix wrong errno from xfs_initxattrs Dave Chinner
2014-05-13 12:51   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 6/9] xfs: fix wrong err sign on xfs_set_acl() Dave Chinner
2014-05-13 12:51   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 7/9] xfs: negate mount workqueue init error value Dave Chinner
2014-05-13 12:56   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 8/9] xfs: negate xfs_icsb_init_counters " Dave Chinner
2014-05-13 12:58   ` Jeff Liu
2014-05-13  8:56 ` [PATCH 9/9] xfs: list_lru_init returns a negative error Dave Chinner
2014-05-13 13:05   ` Jeff Liu
2014-05-14  7:28 ` [PATCH 0/9] xfs: error sign fixes for 3.15-rc6 Jeff Liu
2014-05-14 21:28   ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox