Commit Graph

  • 4dc8ce211f
    Merge pull request #15 from dalmemail/typo master Sankar சங்கர் 2024-11-05 06:54:46 +05:30
  • 92da439799 simple.c: Fix typo, simplefs_destory_inode() -> simplefs_destroy_inode() Daniel Martin 2024-11-04 21:06:51 +01:00
  • c3b69c8940
    Merge pull request #14 from psankar/revert-13-Port_Centos75_Kernel_310 Arshad Hussain 2021-02-11 11:52:06 +05:30
  • 4beaabdd2f
    Revert "Backport to kernel version 3.10" revert-13-Port_Centos75_Kernel_310 Arshad Hussain 2021-02-11 11:47:53 +05:30
  • aa31352c31
    Merge pull request #13 from arshad512/Port_Centos75_Kernel_310 Sankar சங்கர் 2021-02-10 17:54:47 +05:30
  • 4b5576cec7 Backport to kernel version 3.10 Simplefs_Kernel310 Arshad Hussain 2021-02-10 13:44:26 +05:30
  • 60ac9bfa17
    docs: fix simple typo, insted -> instead (#12) Tim Gates 2020-12-13 14:21:24 +11:00
  • 451cb1bb73
    Merge pull request #11 from BitExplorer/master Sankar சங்கர் 2019-10-27 08:10:33 +05:30
  • 70b56643d4 added initialization of a variable Brian Henning 2019-10-26 17:11:23 -05:00
  • df5314f27d Use current_time() over CURRENT_TIME macro Azat Khuzhin 2018-04-20 02:29:15 +03:00
  • 90e4702d37 fix ‘struct file’ has no member named ‘f_dentry’ Barry Song 2018-04-16 11:13:48 +08:00
  • af55617de2 Merge pull request #9 from gshrikant/master Sankar சங்கர் 2017-06-14 10:18:18 +05:30
  • 38669257c5 Fix usage of CURRENT_TIME macro. Shrikant Giridhar 2017-06-14 00:38:19 -04:00
  • 5d00eebd45 Merge branch 'journal-v6' Azat Khuzhin 2014-10-02 02:22:29 +04:00
  • 4c486f751b simplefs_write: install h_sync (sync on close) for jbd2 handle Azat Khuzhin 2014-09-23 00:16:49 +04:00
  • 49937e8acf Use max available journal size with jbd2_journal_init_dev() Azat Khuzhin 2014-09-18 02:47:51 +04:00
  • 7023aebf18 simple-test: create journal with 4k block size Azat Khuzhin 2014-09-18 02:37:38 +04:00
  • 3384ede4bd simple-test: use losetup+journal_path=/dev/loopX for mounting with journal Azat Khuzhin 2014-09-18 02:29:00 +04:00
  • cb833cd591 Handle bdevs for journal_path= mount flag Azat Khuzhin 2014-09-18 02:26:44 +04:00
  • 87e3751725 Actually load journal by calling jbd2_journal_load() Azat Khuzhin 2014-09-17 21:09:54 +04:00
  • e21bfc88e3 simple-test: mount fs with journal Azat Khuzhin 2014-09-17 21:04:06 +04:00
  • 33f5f117df Implement journal_path option Azat Khuzhin 2014-09-17 20:52:09 +04:00
  • fd1dc7a951 Add loader for internal journal (we need to update mkfs to support this) Azat Khuzhin 2014-09-17 18:55:11 +04:00
  • bd1188801c Add sfs_trace for lookup and compare inside it Azat Khuzhin 2014-09-17 17:19:05 +04:00
  • 65ab062528 simple-test: enable jbd2-debug Azat Khuzhin 2014-09-17 13:31:51 +04:00
  • a619accdc7 Check that journal was initialized successfully Azat Khuzhin 2014-07-13 18:02:33 +04:00
  • aa630d8e0f Write journal device name Azat Khuzhin 2014-07-13 17:30:40 +04:00
  • 57a1e15c0f Implement external journal device instead of internal Azat Khuzhin 2014-07-13 15:26:02 +04:00
  • f8009d2223 simplefs_write: add journaling using jbd2 Azat Khuzhin 2014-07-13 00:44:35 +04:00
  • dad5b1c50e Initial support of journaling Azat Khuzhin 2014-07-13 00:00:36 +04:00
  • 072ef5bff6 Add link to build environment (github.com/azat/simplefs-bld) Azat Khuzhin 2014-09-23 15:13:51 +04:00
  • 8567b0e113 simple-test: call umount from cleanup() only when mount point exists Azat Khuzhin 2014-09-17 13:38:41 +04:00
  • 0a7059cd35 simple-test: use 'umount -t /path/to/mnt' to avoid umounting extra mnts Azat Khuzhin 2014-09-17 13:34:51 +04:00
  • 37a08dbe63 simple-test: change dir to root before unmount, to avoid opened fds Azat Khuzhin 2014-09-17 13:33:37 +04:00
  • 0a41a032a4 simple-test: fix awk syntax for unmount only by fstype Azat Khuzhin 2014-09-17 13:32:39 +04:00
  • b84270ee83 simple-test: grep out by 3 column (fs type) from /proc/mounts Azat Khuzhin 2014-09-16 20:18:59 +04:00
  • e1df255a33 simple-test: more accurate grep for /proc/mounts Azat Khuzhin 2014-09-16 16:22:00 +04:00
  • 0fb2c3b7c1 mkfs-simplefs: fill sb by zeros sb padding Azat Khuzhin 2014-07-12 21:56:49 +04:00
  • 7610120b10 mkfs: split into more helpers (and drop malloc just do seek instead) Azat Khuzhin 2014-07-12 17:38:22 +04:00
  • bb70d76497 Add BUG_ON() after each sb_bread() to avoid NULL dereferencing Azat Khuzhin 2014-07-12 22:16:39 +04:00
  • 069f34ebbc Merge pull request #3 from asfdfdfd/patch-1 Sankar சங்கர் 2014-03-29 21:15:55 +05:30
  • ed7ff8a42d Typo in comment fixed. asfdfdfd 2014-03-29 16:08:08 +03:00
  • 3050cdf2ed Use slab allocator for simplefs_inode Azat Khuzhin 2013-09-30 22:42:53 +04:00
  • 031f974c36 fix another inode leaking in simplefs_create_fs_object() Azat Khuzhin 2013-09-30 02:21:03 +04:00
  • 98bbe99632 Fix leaking of inode memory. Azat Khuzhin 2013-09-30 01:15:18 +04:00
  • 7130573869 read: drop static "done" variable, we already have file_size in inode. Azat Khuzhin 2013-09-29 20:22:03 +04:00
  • d976c4f65e test: read file after truncate it to more smaller size. Azat Khuzhin 2013-09-29 20:18:49 +04:00
  • d67a2974e5 test: add some read operations after unmount/mount Azat Khuzhin 2013-09-29 20:11:27 +04:00
  • 86d7a8ff80 Add new helper - simplefs_inode_save() Azat Khuzhin 2013-09-29 18:59:30 +04:00
  • 2d95ccf1a3 Start implementing verbose logging depends on macros. (SIMPLEFS_DEBUG) Azat Khuzhin 2013-09-29 18:09:06 +04:00
  • f9aa71628d Add new helper simplefs_inode_search() Azat Khuzhin 2013-09-26 00:30:55 +04:00
  • c199cecbce simplefs_create_fs_object(): release mutexes when we can't acquire sb_lock Azat Khuzhin 2013-09-25 18:01:36 +04:00
  • ee1efa11df sb: use s_maxbytes field instead of hardcoded check in simplefs_write() Azat Khuzhin 2013-09-25 15:40:31 +04:00
  • ab68a5176a simplefs_write(): use generic_write_checks() Azat Khuzhin 2013-09-25 14:46:23 +04:00
  • 274a98ae14 Add TODO about moving version depend code into separate header. Azat Khuzhin 2013-09-25 00:48:31 +04:00
  • f72fbd4db6 Add new const SIMPLEFS_START_INO instead of magic number Azat Khuzhin 2013-09-18 23:43:50 +04:00
  • f61cf26333 simple.h: drop trailing whitespaces Azat Khuzhin 2013-09-18 23:43:17 +04:00
  • 82a2041957 simplefs_create_fs_object(): avoid extra allocation of memory Azat Khuzhin 2013-09-18 23:17:42 +04:00
  • 0e14ca0edc simplefs_fill_super() drop deprecated FIXME (see 9aee1ce) Azat Khuzhin 2013-09-18 23:07:11 +04:00
  • 569e7cd0ce mkfs: avoid leaking of "block_padding" Azat Khuzhin 2013-09-18 23:00:34 +04:00
  • 1a11834f73 Add shell script to do some simple operations with simplefs Azat Khuzhin 2013-09-17 22:30:57 +04:00
  • 3cae84d822 Drop explicit cast sb_bread() return value to buffer_head Azat Khuzhin 2013-09-16 02:31:13 +04:00
  • 9aee1ce302 Release bh in simplefs_fill_super() Azat Khuzhin 2013-09-16 02:28:46 +04:00
  • 90ca0e557c Add FS_REQUIRES_DEV to fs_flags Azat Khuzhin 2013-09-16 02:13:52 +04:00
  • 23d554cda7 Use kill_block_super() in simplefs_kill_superblock() Azat Khuzhin 2013-09-16 02:12:45 +04:00
  • 8382ab7e81 simple.c: drop trailing whitespace Azat Khuzhin 2013-09-16 02:10:49 +04:00
  • 6d606a796c simplefs_create_fs_object: fix memory leaking of temporary record Azat Khuzhin 2013-09-14 13:48:15 +04:00
  • a315571b05 Use d_alloc_root() instead of d_make_root() in linux kernel < 3.3 Azat Khuzhin 2013-09-10 23:45:45 +04:00
  • 18df3131a2 Don't change filp->f_pos in fops->iterate. (linux kernel >= 3.11) Azat Khuzhin 2013-09-10 21:57:41 +04:00
  • 83cf8c8906 Update README Sankar சங்கர் 2013-08-15 14:51:20 +05:30
  • 2be71baea4 Merge pull request #2 from azat/fix-includes Sankar சங்கர் 2013-08-15 02:15:47 -07:00
  • 3f472cec01 Merge pull request #1 from azat/readdir-to-iterate Sankar சங்கர் 2013-08-15 02:14:53 -07:00
  • b42b87a9bc Implement file_operations.iterate instead of deprecated readdir Azat Khuzhin 2013-08-15 01:05:18 +04:00
  • 000b97517f Use "" instead of <> to include files from simplefs Azat Khuzhin 2013-08-15 00:58:44 +04:00
  • 0d484e8e3b Update README for the 1.0 release 1.0 Sankar சங்கர் 2013-08-06 21:15:01 +05:30
  • 46c5efbd1e Update README with test instructions covering all supported filesystem operations Sankar சங்கர் 2013-08-05 22:47:32 +05:30
  • 7e6b073449 Update parent directory inode children count on new file/subdir creation. Sankar சங்கர் 2013-08-05 22:46:19 +05:30
  • bcd9210b10 Update CREDITS Sankar சங்கர் 2013-07-28 22:48:11 +05:30
  • 39b8ce10aa Update README with TODO and test instructions Sankar சங்கர் 2013-07-28 22:44:10 +05:30
  • 4032ad3c09 Update README with architecture notes Sankar சங்கர் 2013-07-28 22:37:37 +05:30
  • 59ebefe597 Added a LICENSE file explicitly Sankar சங்கர் 2013-07-28 22:37:15 +05:30
  • 30a0ffafe4 Update README with build and testing instructions Sankar சங்கர் 2013-07-28 21:32:06 +05:30
  • a68d101c93 basic write support Sankar சங்கர் 2013-07-28 21:26:46 +05:30
  • 22f33bcd32 mkidr support for simplefs Sankar சங்கர் 2013-07-27 18:45:38 +05:30
  • 6c591e9eb3 create file support Sankar சங்கர் 2013-07-27 01:02:11 +05:30
  • 356bceb273 read support for existing files Sankar சங்கர் 2013-07-24 17:29:50 +05:30
  • a96e3142dd Code comments Sankar சங்கர் 2013-04-23 14:42:36 +05:30
  • 3ad58de506 Lindent sources Sankar சங்கர் 2013-04-23 14:29:30 +05:30
  • b5aa56df68 readdir and lookup support so ls works fine without errors Sankar சங்கர் 2013-04-23 14:27:02 +05:30
  • 233991006f Update README with the latest build/test/debug instructions Sankar சங்கர் 2013-04-22 23:58:35 +05:30
  • f5cf481557 mkfs creates a welcome file. readdir(ls) tries to list this file Sankar சங்கர் 2013-04-22 23:53:59 +05:30
  • fec3cb7f9b Added a convenince inline function for generic inode to simplefs inode conversion Sankar சங்கர் 2013-04-22 21:16:25 +05:30
  • c8275e0bf6 Start using the convenience inline functions Sankar சங்கர் 2013-04-22 21:12:52 +05:30
  • ec223623dc Create and retrieve the rootdir inode from the inode store instead of the super block Sankar சங்கர் 2013-04-22 21:10:21 +05:30
  • f2ae6c1536 Code comments Sankar சங்கர் 2013-04-22 17:02:29 +05:30
  • e0e7618c8e Load inode of the root dir from disk. Support readdir (ls) on root directory. Sankar சங்கர் 2013-04-22 16:45:25 +05:30
  • 5201fe0520 Use fixed sized POSIX datatypes instead of platform dependent types Sankar சங்கர் 2013-04-19 15:42:34 +05:30
  • e5b2694335 Add the mkfs binary to the gitignore Sankar சங்கர் 2013-04-12 12:56:28 +05:30
  • 3198c6614e Load superblock from disk for a simplefs formatted filesystem Sankar சங்கர் 2013-04-12 00:16:18 +05:30
  • a3d7c0337e Simplify build instructions Sankar சங்கர் 2013-03-30 16:08:59 +05:30