mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 1fe3dd003a
			
		
	
	
	1fe3dd003a
	
	
	
		
			
			After MDEV-15528, two modes of operation in the fil_crypt_thread remains, depending on whether innodb_encryption_rotate_key_age=0 (whether key rotation is disabled). If the key rotation is disabled, the fil_crypt_thread miss the opportunity to sleep, which will result in lots of wasted CPU usage. fil_crypt_return_iops(): Add a parameter to specify whether other fil_crypt_thread should be woken up. fil_system_t::keyrotate_next(): Return the special value fil_system.temp_space to indicate that no work is to be done. fil_space_t::next(): Propagage the special value fil_system.temp_space to the caller. fil_crypt_find_space_to_rotate(): If no work is to be done, do not wake up other threads.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --innodb-encryption-rotate-key-age=0
 | |
| --innodb-encryption-threads=4
 | |
| --innodb-tablespaces-encryption
 | |
| --plugin-load-add=$FILE_KEY_MANAGEMENT_SO
 | |
| --loose-file-key-management
 | |
| --loose-file-key-management-filename=$MYSQL_TEST_DIR/std_data/logkey.txt
 | |
| --innodb_strict_mode
 | |
| --innodb_file_per_table
 |