Revision e1cbbfa5f5aaf40a1fe70856fac4dfcc33e0e651 authored by Josef Bacik on 17 March 2015, 14:52:28 UTC, committed by Josef Bacik on 17 March 2015, 20:36:35 UTC
We are keeping track of how many extents we need to reserve properly based on
the amount we want to write, but we were still incrementing outstanding_extents
if we wrote less than what we requested.  This isn't quite right since we will
be limited to our max extent size.  So instead lets do something horrible!  Keep
track of how many outstanding_extents we reserved, and decrement each time we
allocate an extent.  If we use our entire reserve make sure to jack up
outstanding_extents on the inode so the accounting works out properly.  Thanks,

Reported-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
1 parent 6a3891c
Raw File
Kconfig
config QNX6FS_FS
	tristate "QNX6 file system support (read only)"
	depends on BLOCK && CRC32
	help
	  This is the file system used by the real-time operating systems
	  QNX 6 (also called QNX RTP).
	  Further information is available at <http://www.qnx.com/>.
	  Say Y if you intend to mount QNX hard disks or floppies formatted
          with a mkqnx6fs.
	  However, keep in mind that this currently is a readonly driver!

	  To compile this file system support as a module, choose M here: the
	  module will be called qnx6.

	  If you don't know whether you need it, then you don't need it:
	  answer N.

config QNX6FS_DEBUG
	bool "QNX6 debugging information"
	depends on QNX6FS_FS
	help
	  Turns on extended debugging output.

	  If you are not a developer working on the QNX6FS, you probably don't
	  want this:
	  answer N.
back to top