[RTEMS Project] #2431: Add documentation and error checking for CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK

RTEMS trac trac at rtems.org
Tue Oct 20 19:53:57 UTC 2015


#2431: Add documentation and error checking for
CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK
---------------------------+---------------------------
 Reporter:  joel.sherrill  |      Owner:  joel.sherrill
     Type:  defect         |     Status:  new
 Priority:  low            |  Milestone:  4.10.3
Component:  filesystem     |    Version:  4.10
 Severity:  minor          |   Keywords:
---------------------------+---------------------------
 When CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was set to an invalid value,
 the startup code would silently use the default value of 128 bytes. In
 investigating why configuring 1024 byte block size did not work, I
 discovered that the maximum size was 512 and that there was no way for a
 user to know that they had configured an incorrect value. Beyond that, I
 discovered that there was no documentation outside the code of this
 configuration parameter or its valid values.  This patch:

 * adds error checking to confdefs.h
 * adds documentation to the User's Guide
 * fixes an incorrect value in a test

--
Ticket URL: <http://devel.rtems.org/ticket/2431>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list