~ubuntu-branches/ubuntu/trusty/linux-armadaxp/trusty

« back to all changes in this revision

Viewing changes to Documentation/filesystems/ext4.txt

  • Committer: Package Import Robot
  • Author(s): Michael Casadevall, Bryan Wu, Dann Frazier, Michael Casadeall
  • Date: 2012-03-10 15:00:54 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120310150054-flugb39zon8vvgwe
Tags: 3.2.0-1600.1
[ Bryan Wu ]
* UBUNTU: import debian/debian.env and debian.armadaxp

[ Dann Frazier ]
* ARM: Armada XP: remove trailing '/' in dirnames in mvRules.mk

[ Michael Casadeall ]
* tools: add some tools for Marvell Armada XP processor
* kernel: timer tick hacking from Marvell
* kernel: Sheeva Errata: add delay on Sheeva when powering down
* net: add Marvell NFP netfilter
* net: socket and skb modifications made by Marvell
* miscdevice: add minor IDs for some Marvell Armada drivers
* fs: introduce memory pool for splice()
* video: EDID detection updates from Marvell Armada XP patchset
* video: backlight: add Marvell Dove LCD backlight driver
* video: display: add THS8200 display driver
* video: framebuffer: add Marvell Dove and Armada XP processor onchip LCD controller driver
* usbtest: add Interrupt transfer testing by Marvell Armada XP code
* usb: ehci: add support for Marvell EHCI controler
* tty/serial: 8250: add support for Marvell Armada XP processor and DeviceTree work
* rtc: add support for Marvell Armada XP onchip RTC controller
* net: pppoe: add Marvell ethernet NFP hook in PPPoE networking driver
* mtd: nand: add support for Marvell Armada XP Nand Flash Controller
* mtd: maps: add Marvell Armada XP specific map driver
* mmc: add support for Marvell Armada XP MMC/SD host controller
* i2c: add support for Marvell Armada XP onchip i2c bus controller
* hwmon: add Kconfig option for Armada XP onchip thermal sensor driver
* dmaengine: add Net DMA support for splice and update Marvell XOR DMA engine driver
* ata: add support for Marvell Armada XP SATA controller and update some quirks
* ARM: add Marvell Armada XP machine to mach-types
* ARM: oprofile: add support for Marvell PJ4B core
* ARM: mm: more ARMv6 switches for Marvell Armada XP
* ARM: remove static declaration to allow compilation
* ARM: alignment access fault trick
* ARM: mm: skip some fault fixing when run on NONE SMP ARMv6 mode during early abort event
* ARM: mm: add Marvell Sheeva CPU Architecture for PJ4B
* ARM: introduce optimized copy operation for Marvell Armada XP
* ARM: SAUCE: hardware breakpoint trick for Marvell Armada XP
* ARM: big endian and little endian tricks for Marvell Armada XP
* ARM: SAUCE: Add Marvell Armada XP build rules to arch/arm/kernel/Makefile
* ARM: vfp: add special handling for Marvell Armada XP
* ARM: add support for Marvell U-Boot
* ARM: add mv_controller_num for ARM PCI drivers
* ARM: add support for local PMUs, general SMP tweaks and cache flushing
* ARM: add Marvell device identifies in glue-proc.h
* ARM: add IPC driver support for Marvell platforms
* ARM: add DMA mapping for Marvell platforms
* ARM: add Sheeva errata and PJ4B code for booting
* ARM: update Kconfig and Makefile to include Marvell Armada XP platforms
* ARM: Armada XP: import LSP from Marvell for Armada XP 3.2 kernel enablement

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    '-o barriers=[0|1]' mount option for both ext3 and ext4 filesystems
69
69
    for a fair comparison.  When tuning ext3 for best benchmark numbers,
70
70
    it is often worthwhile to try changing the data journaling mode; '-o
71
 
    data=writeback,nobh' can be faster for some workloads.  (Note
72
 
    however that running mounted with data=writeback can potentially
73
 
    leave stale data exposed in recently written files in case of an
74
 
    unclean shutdown, which could be a security exposure in some
75
 
    situations.)  Configuring the filesystem with a large journal can
76
 
    also be helpful for metadata-intensive workloads.
 
71
    data=writeback' can be faster for some workloads.  (Note however that
 
72
    running mounted with data=writeback can potentially leave stale data
 
73
    exposed in recently written files in case of an unclean shutdown,
 
74
    which could be a security exposure in some situations.)  Configuring
 
75
    the filesystem with a large journal can also be helpful for
 
76
    metadata-intensive workloads.
77
77
 
78
78
2. Features
79
79
===========
160
160
                        lead to any number of problems.
161
161
 
162
162
data=journal            All data are committed into the journal prior to being
163
 
                        written into the main file system.
 
163
                        written into the main file system.  Enabling
 
164
                        this mode will disable delayed allocation and
 
165
                        O_DIRECT support.
164
166
 
165
167
data=ordered    (*)     All data are forced directly out to the main file
166
168
                        system prior to its metadata being committed to the
201
203
                        table readahead algorithm will pre-read into
202
204
                        the buffer cache.  The default value is 32 blocks.
203
205
 
204
 
orlov           (*)     This enables the new Orlov block allocator. It is
205
 
                        enabled by default.
206
 
 
207
 
oldalloc                This disables the Orlov block allocator and enables
208
 
                        the old block allocator.  Orlov should have better
209
 
                        performance - we'd like to get some feedback if it's
210
 
                        the contrary for you.
211
 
 
212
 
user_xattr              Enables Extended User Attributes.  Additionally, you
213
 
                        need to have extended attribute support enabled in the
214
 
                        kernel configuration (CONFIG_EXT4_FS_XATTR).  See the
215
 
                        attr(5) manual page and http://acl.bestbits.at/ to
216
 
                        learn more about extended attributes.
217
 
 
218
 
nouser_xattr            Disables Extended User Attributes.
219
 
 
220
 
acl                     Enables POSIX Access Control Lists support.
221
 
                        Additionally, you need to have ACL support enabled in
222
 
                        the kernel configuration (CONFIG_EXT4_FS_POSIX_ACL).
223
 
                        See the acl(5) manual page and http://acl.bestbits.at/
224
 
                        for more information.
 
206
nouser_xattr            Disables Extended User Attributes. If you have extended
 
207
                        attribute support enabled in the kernel configuration
 
208
                        (CONFIG_EXT4_FS_XATTR), extended attribute support
 
209
                        is enabled by default on mount. See the attr(5) manual
 
210
                        page and http://acl.bestbits.at/ for more information
 
211
                        about extended attributes.
225
212
 
226
213
noacl                   This option disables POSIX Access Control List
227
 
                        support.
 
214
                        support. If ACL support is enabled in the kernel
 
215
                        configuration (CONFIG_EXT4_FS_POSIX_ACL), ACL is
 
216
                        enabled by default on mount. See the acl(5) manual
 
217
                        page and http://acl.bestbits.at/ for more information
 
218
                        about acl.
228
219
 
229
220
bsddf           (*)     Make 'df' act like BSD.
230
221
minixdf                 Make 'df' act like Minix.
272
263
                        package for more details
273
264
                        (http://sourceforge.net/projects/linuxquota).
274
265
 
275
 
bh              (*)     ext4 associates buffer heads to data pages to
276
 
nobh                    (a) cache disk block mapping information
277
 
                        (b) link pages into transaction to provide
278
 
                            ordering guarantees.
279
 
                        "bh" option forces use of buffer heads.
280
 
                        "nobh" option tries to avoid associating buffer
281
 
                        heads (supported only for "writeback" mode).
282
 
 
283
266
stripe=n                Number of filesystem blocks that mballoc will try
284
267
                        to use for allocation size and alignment. For RAID5/6
285
268
                        systems this should be the number of data
393
376
                        write and convert the extent to initialized after IO
394
377
                        completes. This approach allows ext4 code to avoid
395
378
                        using inode mutex, which improves scalability on high
396
 
                        speed storages. However this does not work with nobh
397
 
                        option and the mount will fail. Nor does it work with
 
379
                        speed storages. However this does not work with
398
380
                        data journaling and dioread_nolock option will be
399
381
                        ignored with kernel warning. Note that dioread_nolock
400
382
                        code path is only used for extent-based files.
428
410
In the event of a crash, the journal can be replayed, bringing both data and
429
411
metadata into a consistent state.  This mode is the slowest except when data
430
412
needs to be read from and written to disk at the same time where it
431
 
outperforms all others modes.  Currently ext4 does not have delayed
432
 
allocation support if this data journalling mode is selected.
 
413
outperforms all others modes.  Enabling this mode will disable delayed
 
414
allocation and O_DIRECT support.
433
415
 
434
416
/proc entries
435
417
=============