Commit History

Author SHA1 Message Date
  Nathalie Furmento ea326f4d15 src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC 9 years ago
  Nathalie Furmento d4761fddf6 src: introduce macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC to make sure we always check the return value of stdlib malloc functions 9 years ago
  Samuel Thibault 181f60818d fix typo... 9 years ago
  Samuel Thibault e500866364 fix check 9 years ago
  Nathalie Furmento 534e9acd5b disk: fix bugs detected by coverity 9 years ago
  Samuel Thibault 5ebf88a077 fix signedness warning 9 years ago
  Samuel Thibault 9095dde87f fix confusion between _starpu_ftruncate and ftruncate by introducing _starpu_fftruncate which takes a FILE* 9 years ago
  Samuel Thibault bdfcc6404e factorize ftruncate portability to windows 9 years ago
  Samuel Thibault ed431c73a5 fix leaked fd 9 years ago
  Nathalie Furmento e009dfc674 src/core/disk_ops: 2 bugs fixes: - files opened with fdopen only need to be closed with fclose and - reopen files when necessary 9 years ago
  Samuel Thibault 5c7fec04ee When many files are open, switch to opening files on demand for each request 9 years ago
  Samuel Thibault 59a170b9a4 Factorize disk init/close/fini operations 9 years ago
  Samuel Thibault 63148dc70a create a hierarchy of directories to store allocated files, to avoid issues with systems where the number of files in the same directory is limited. A depth of 2 gets a billion of files with a thousand per directory, that should be enough 9 years ago
  Samuel Thibault 7a72a87830 factorize code 9 years ago
  Samuel Thibault dcde45156c harmonize identical code 9 years ago
  Samuel Thibault bf8e9c78cb Cache values gotten from environment variables, to fix concurrency with putenv() calls, and also reduce cost 10 years ago
  Nathalie Furmento ae33916a15 src/core/disk_ops: test directory exists 10 years ago
  Nathalie Furmento 4ba25f673b src/core/disk_ops/disk_stdio.c: display error messages on failure 10 years ago
  Nathalie Furmento e379fd915e src/core/disk_ops/disk_stdio.c: code cleaning 10 years ago
  Samuel Thibault c8efbb83e8 Inline list heads instead of keeping allocating them 10 years ago
  Samuel Thibault 22159f1662 Reduce disk calibration time 10 years ago
  Samuel Thibault 923dbdd2d8 Use starpu_ssize_t instead of ssize_t, and add a check against it 11 years ago
  Samuel Thibault 73461bda4f Free with the proper function 11 years ago
  Samuel Thibault b2ff0c53b6 Fix unlinking files on windows 11 years ago
  Samuel Thibault af2958f65c Add environment variables to define a disk swap 11 years ago
  Samuel Thibault 5631781837 Make pack allocate aligned buffers for o_direct to be able to work 11 years ago
  Samuel Thibault 51e895087b Fix and test disk support with pack/unpack-only interfaces 11 years ago
  Samuel Thibault 664964417e Add the size to the disk plug method 11 years ago
  Samuel Thibault bcd5fb6e5f Remove spurious async parameter of synchronous read/write functions 11 years ago
  Samuel Thibault 57e3ce1af1 sys/time is not needed any more for gettimeofday 11 years ago